Skip to content

Commit

Permalink
Shell points now to the package provided in the home-manager config f…
Browse files Browse the repository at this point in the history
…or that user
  • Loading branch information
arunoruto committed Nov 2, 2024
1 parent e801288 commit 38916b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/nixos/user.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
users.${username} = {
isNormalUser = true;
# hashedPasswordFile = config.sops.secrets."passwords/${username}".path;
shell = pkgs.zsh;
# shell = pkgs.${config.home-manager.users.${username}.shell};
shell =
config.home-manager.users.${username}.programs.${
config.home-manager.users.${username}.shell
}.package;
description = "Mirza";
extraGroups = [
"dialout"
Expand All @@ -30,6 +34,7 @@
"render"
"input"
"uinput"
"tss" # tss group has access to TPM devices
];
};
};
Expand Down

0 comments on commit 38916b9

Please sign in to comment.