Refactor xserver service

This commit is contained in:
♥ Minnie ♥ 2024-07-26 08:58:52 +08:00
parent add81a71d5
commit 89dff37210
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 12 additions and 8 deletions

View file

@ -64,14 +64,6 @@
qmk-udev-rules
];
# Setup our display server.
xserver = {
enable = true;
xkb.layout = "au";
videoDrivers = [ "amdgpu" ];
displayManager.startx.enable = true;
};
libinput = {
enable = true;
mouse = { accelProfile = "flat"; };

View file

@ -4,5 +4,6 @@
imports = [
./amdgpu-clocks.nix
./flatpak.nix
./xserver.nix
];
}

View file

@ -0,0 +1,11 @@
{ ... }:
{
# Setup our display server
services.xserver = {
enable = true;
xkb.layout = "au";
videoDrivers = [ "amdgpu" ];
displayManager.startx.enable = true;
};
}