nixos/gdm: prevent g-i-s from running

This commit is contained in:
worldofpeace 2019-09-19 23:07:45 -04:00 committed by Jan Tojnar
parent ea6aae81f1
commit f462b376bb
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -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
'';
};