fixed zsh shell enable on nixos user
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user