diff --git a/configuration.nix b/configuration.nix index 66c4a05..fd606aa 100644 --- a/configuration.nix +++ b/configuration.nix @@ -52,7 +52,7 @@ services.avahi = { enable = true; - nssmdns = true; + nssmdns4 = true; publish = { enable = true; addresses = true; @@ -84,8 +84,8 @@ }; # Enable automatic login for the user. - services.xserver.displayManager.autoLogin.enable = true; - services.xserver.displayManager.autoLogin.user = "mir"; + services.displayManager.autoLogin.enable = true; + services.displayManager.autoLogin.user = "mir"; # services.getty.autologinUser = "mir" # Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229