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;
|
2024-02-13 22:57:42 +08:00
|
|
|
extraGroups = [ "audio" "docker" "networkmanager" "wheel" "adbusers" ];
|
2024-01-14 06:29:18 +08:00
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|