Fix nix warnings

This commit is contained in:
GHOSCHT 2024-12-02 12:43:57 +01:00
parent 16f352e90d
commit 1ffe166e56
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
4 changed files with 7 additions and 5 deletions

View file

@ -16,5 +16,5 @@
}; };
}; };
console.keyMap = "de"; console.keyMap = "de";
services.xserver.layout = "de"; services.xserver.xkb.layout = "de";
} }

View file

@ -7,11 +7,11 @@
imports = [./global.nix ./x11.nix ./wayland.nix]; imports = [./global.nix ./x11.nix ./wayland.nix];
services = { services = {
libinput.enable = true;
xserver = { xserver = {
desktopManager.gnome = { desktopManager.gnome = {
enable = true; enable = true;
}; };
libinput.enable = true;
modules = [pkgs.xf86_input_wacom]; modules = [pkgs.xf86_input_wacom];
wacom.enable = true; wacom.enable = true;
}; };

View file

@ -5,11 +5,12 @@
... ...
}: { }: {
services = { services = {
libinput.enable = true; # Enable touchpad support
libinput.touchpad.naturalScrolling = true;
# Enable the X11 windowing system. # Enable the X11 windowing system.
xserver = { xserver = {
enable = true; enable = true;
# Enable touchpad support
libinput.enable = true;
# Remove xterm terminal # Remove xterm terminal
excludePackages = with pkgs; [xterm]; excludePackages = with pkgs; [xterm];
modules = [pkgs.xf86_input_wacom]; modules = [pkgs.xf86_input_wacom];

View file

@ -9,7 +9,8 @@
printing.enable = true; printing.enable = true;
avahi = { avahi = {
enable = true; enable = true;
nssmdns = true; nssmdns4 = true;
nssmdns6 = true;
# for a WiFi printer # for a WiFi printer
openFirewall = true; openFirewall = true;
}; };