test
This commit is contained in:
parent
594759b60f
commit
45c189767f
3 changed files with 20 additions and 14 deletions
|
@ -87,20 +87,6 @@
|
|||
LC_TIME = "en_US.UTF-8";
|
||||
};
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
libinput = {
|
||||
enable = true;
|
||||
touchpad.tapping = true;
|
||||
};
|
||||
# Enable nVidia drivers
|
||||
videoDrivers = [ "nvidia" ];
|
||||
autorun = true;
|
||||
};
|
||||
|
||||
# Enable sound with pipewire.
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
|
|
@ -33,4 +33,11 @@
|
|||
|
||||
# Fingerprint software
|
||||
environment.systemPackages = with pkgs; [ fprintd ];
|
||||
|
||||
|
||||
imports = [
|
||||
# Modules
|
||||
../../modules/xserver.nix
|
||||
../../modules/powertop.nix
|
||||
];
|
||||
}
|
13
modules/xserver.nix
Normal file
13
modules/xserver.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Configure keymap in X11
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
libinput = {
|
||||
enable = true;
|
||||
touchpad.tapping = true;
|
||||
};
|
||||
# Enable nVidia drivers
|
||||
videoDrivers = [ "nvidia" ];
|
||||
autorun = true;
|
||||
};
|
Loading…
Reference in a new issue