dotfiles.nix/nixos/common/users/sajenim/default.nix

25 lines
699 B
Nix
Raw Normal View History

2024-01-21 21:03:57 +08:00
{ inputs, outputs, pkgs, config, ... }:
2024-01-14 06:29:18 +08:00
{
2024-01-21 22:32:25 +08:00
imports = [
inputs.home-manager.nixosModules.home-manager
];
2024-01-14 06:29:18 +08:00
users.users.sajenim = {
isNormalUser = true;
extraGroups = [ "audio" "docker" "networkmanager" "wheel" ];
shell = pkgs.zsh;
openssh.authorizedKeys.keyFiles = [
2024-01-21 21:03:57 +08:00
"${inputs.self}/home-manager/sajenim/sajenim_sk.pub"
2024-01-14 06:29:18 +08:00
];
hashedPassword = "$y$j9T$qIhW5qL9J9w.w6JWa.bGo/$oddG3HJyOZ1mwHzYnYPJ/MzN38oHEBEvPDc0sB3rAf9";
};
users.mutableUsers = false;
home-manager = {
extraSpecialArgs = { inherit inputs outputs; };
users = {
2024-01-21 21:03:57 +08:00
sajenim = import "${inputs.self}/home-manager/sajenim/${config.networking.hostName}.nix";
2024-01-14 06:29:18 +08:00
};
};
}