Compare commits
No commits in common. "2f8a45c405862c51809f0356bd07eb32b9a625dd" and "d2cd8c4834005474b65957dee00a6928e662e7d8" have entirely different histories.
2f8a45c405
...
d2cd8c4834
1 changed files with 33 additions and 19 deletions
|
@ -8,17 +8,11 @@
|
|||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
#../../../common/cpu/intel
|
||||
#../../../common/pc/laptop
|
||||
# ./packages.nix
|
||||
];
|
||||
|
||||
|
||||
nix = {
|
||||
nixPath = [
|
||||
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
|
||||
"nixos-config=/home/paul/NixOS/hosts/latitude/configuration.nix"
|
||||
"/nix/var/nix/profiles/per-user/root/channels"
|
||||
];
|
||||
};
|
||||
|
||||
# UPDATE YOUR FUCKING ELECTRON APPS GUYS!!!
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
|
@ -44,6 +38,11 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.systemd-boot.configurationLimit = 10; # Keep only the last 10 Generations.
|
||||
networking.hostName = "latitude"; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
|
@ -67,17 +66,23 @@
|
|||
};
|
||||
|
||||
# Experimental Features Enabled
|
||||
# {pkgs, ...}: {
|
||||
nix.settings.experimental-features = ["nix-command"];
|
||||
# }
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
|
||||
|
||||
# Enable Sway (wayland) Window Manager
|
||||
#programs.sway.enable = true;
|
||||
|
||||
# Enable the KDE Plasma Desktop Environment.
|
||||
services.displayManager.sddm.wayland.enable = true; # Launch KDE in Wayland session
|
||||
#services.xserver.displayManager.sddm.enable = true;
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
services.displayManager.defaultSession = "plasma";
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
|
||||
|
||||
# Launch KDE in Wayland session
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
layout = "us";
|
||||
|
@ -87,9 +92,17 @@
|
|||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
|
||||
|
||||
# Bluetooth
|
||||
hardware.bluetooth = {
|
||||
enable =true;
|
||||
powerOnBoot = true;
|
||||
|
||||
};
|
||||
#services.blueman.enable = true;
|
||||
|
||||
# Enable sound with pipewire.
|
||||
# sound.enable = true;
|
||||
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
@ -98,14 +111,12 @@
|
|||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
jack.enable = true;
|
||||
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
#media-session.enable = true;
|
||||
};
|
||||
|
||||
# Bluetooth
|
||||
hardware.bluetooth = {
|
||||
enable =true;
|
||||
powerOnBoot = true;
|
||||
|
||||
};
|
||||
## Allow Bluetooth buttons to control media player
|
||||
systemd.user.services.mpris-proxy = {
|
||||
description = "Mpris proxy";
|
||||
|
@ -127,6 +138,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.paul = {
|
||||
isNormalUser = true;
|
||||
|
|
Loading…
Reference in a new issue