This commit is contained in:
iFargle 2023-07-05 10:44:53 +09:00
parent 594759b60f
commit 45c189767f
3 changed files with 20 additions and 14 deletions

View file

@ -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;

View file

@ -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
View 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;
};