fixed zsh shell enable on nixos user

This commit is contained in:
John Lancaster
2026-03-28 00:19:40 -05:00
parent 778276faa9
commit 014471e83a
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -3,10 +3,11 @@
{ self, ... }:
{
config.flake.factory.user = username: isAdmin: {
nixos."${username}" = { lib, pkgs, ... }: {
nixos."${username}" = { config, lib, pkgs, ... }: {
users.users."${username}" = {
isNormalUser = true;
home = "/home/${username}";
shell = lib.mkIf config.programs.zsh.enable pkgs.zsh;
extraGroups = [
"input"
"networkmanager"