Compare commits
2 commits
d2cd8c4834
...
2f8a45c405
Author | SHA1 | Date | |
---|---|---|---|
|
2f8a45c405 | ||
|
5bcd8f5524 |
1 changed files with 19 additions and 33 deletions
|
@ -8,11 +8,17 @@
|
|||
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 = [
|
||||
|
@ -38,11 +44,6 @@
|
|||
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;
|
||||
|
@ -66,23 +67,17 @@
|
|||
};
|
||||
|
||||
# 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.xserver.displayManager.sddm.enable = true;
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
services.displayManager.sddm.wayland.enable = true; # Launch KDE in Wayland session
|
||||
services.displayManager.defaultSession = "plasma";
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
|
||||
# Launch KDE in Wayland session
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
layout = "us";
|
||||
|
@ -92,17 +87,9 @@
|
|||
# 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;
|
||||
|
@ -111,12 +98,14 @@
|
|||
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";
|
||||
|
@ -138,9 +127,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
# 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