From 313457b121b52c2a8cd93f89daa96c77aec4fb66 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 70be1f6..c2863b6 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