1
Fork 0
nixos-system-config/modules/nixos/user/caem.nix
2025-01-20 00:29:00 +01:00

19 lines
369 B
Nix

{ config, pkgs, inputs, ... }:
{
sops.secrets.upasswd = {
neededForUsers = true;
sopsFile = inputs.secrets.paths.upasswd;
};
users.users.caem = {
isNormalUser = true;
shell = pkgs.zsh;
hashedPasswordFile = config.sops.secrets.upasswd.path;
extraGroups = [
"wheel"
];
};
home-manager.users.caem = import ../../home/caem;
}