diff --git a/nixos/common/desktops/gnome/default.nix b/nixos/common/desktops/gnome/default.nix index f4237f16..ac429f04 100644 --- a/nixos/common/desktops/gnome/default.nix +++ b/nixos/common/desktops/gnome/default.nix @@ -27,12 +27,10 @@ # https://nixos.org/manual/nixos/stable/index.html#chap-gnome # Enable the GNOME Desktop Environment. desktopManager.gnome.enable = true; - displayManager.gdm = { - enable = true; - settings = { - "/org/gnome/login-screen/banner-message" = { - enable = true; - text = '' + desktopManager.gnome.extraGSettingsOverrides = '' + [org.gnome.login-screen.banner-message] + enable = true + text = """ -- Welcome to ${hostname} @@ -71,7 +69,13 @@ Agreement for details. -- - ''; + """; + ''; + displayManager.gdm = { + enable = true; + settings = { + "/apps/gdm/simple-greeter/banner".message = { + enable = true; }; }; };