diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-09-19 23:07:45 -0400 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-10-03 00:09:12 +0200 |
commit | f462b376bb9ee469067e4a30c0ee52ad1ef155d5 (patch) | |
tree | e0c6b86350ebcab605a74fba16997640e0ccb111 /nixos/modules/services/x11/display-managers | |
parent | ea6aae81f1e2df347fdbffe78fc8697b2e255bff (diff) |
nixos/gdm: prevent g-i-s from running
Diffstat (limited to 'nixos/modules/services/x11/display-managers')
-rw-r--r-- | nixos/modules/services/x11/display-managers/gdm.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix index 8edefd592a1a..9f76bba99808 100644 --- a/nixos/modules/services/x11/display-managers/gdm.nix +++ b/nixos/modules/services/x11/display-managers/gdm.nix @@ -150,6 +150,11 @@ in mkdir -p /run/gdm/.config/pulse ln -sf ${pulseConfig} /run/gdm/.config/pulse/default.pa chown -R gdm:gdm /run/gdm/.config + '' + optionalString config.services.gnome3.gnome-initial-setup.enable '' + # Create stamp file for gnome-initial-setup to prevent run. + cat - > /run/gdm/.config/gnome-initial-setup-done <<- EOF + yes + EOF ''; }; |