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

wip/yesman
worldofpeace 5 years ago committed by Jan Tojnar
parent ea6aae81f1
commit f462b376bb
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
  1. 5
      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
'';
};

Loading…
Cancel
Save