From de9bb4bac65240b696fbfa52253941950e97781d Mon Sep 17 00:00:00 2001 From: Joshua Yuen Date: Sun, 27 Jul 2025 16:28:34 -0400 Subject: [PATCH] Set /etc/shells so GDM will be happy --- modules/core/user.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/core/user.nix b/modules/core/user.nix index 8015438..637b663 100644 --- a/modules/core/user.nix +++ b/modules/core/user.nix @@ -40,5 +40,8 @@ in ignoreShellProgramCheck = true; }; + # Set /etc/shells so GDM will show our user when ZSH is selected + environment.shells = with pkgs; [ pkgs.${shellCfg.defaultShell} ]; + nix.settings.allowed-users = [ "${username}" ]; } \ No newline at end of file