all repos — nixfiles @ 321760dde27b969a950d1d28c38cc55e8c304f78

System and user configuration, managed by nix and home-manager

Update to current variable names
Alan Pearce alan@alanpearce.eu
Sat, 09 Mar 2024 12:19:36 +0100
commit

321760dde27b969a950d1d28c38cc55e8c304f78

parent

1a985ff6da3a13572144f35a094bd91bfe168cd5

2 files changed, 4 insertions(+), 4 deletions(-)

jump to
M system/settings/hardware/keyboard.nixsystem/settings/hardware/keyboard.nix
@@ -2,9 +2,9 @@ { config , pkgs
 , ...
 }: {
-  services.xserver = {
+  services.xserver.xkb = {
     layout = "us,de";
-    xkbVariant = "intl-unicode,nodeadkeys";
-    xkbOptions = "altwin:prtsc_rwin,caps:escape_shifted_capslock";
+    variant = "intl-unicode,nodeadkeys";
+    options = "altwin:prtsc_rwin,caps:escape_shifted_capslock";
   };
 }
M system/settings/services/zeroconf.nixsystem/settings/services/zeroconf.nix
@@ -5,7 +5,7 @@ , ... }: {
   services.avahi = {
     enable = true;
-    nssmdns = true;
+    nssmdns4 = true;
     ipv6 = true;
     publish = {
       enable = true;