From a22231d9297b6e2d32650a5aa6cd1ab15b9cbfd6 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 87b7cf6..85c84b3 100644 --- a/modules/core/user.nix +++ b/modules/core/user.nix @@ -41,5 +41,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