Initial commit

This commit is contained in:
2024-03-07 23:14:44 +01:00
commit 0ed396cd88
13 changed files with 341 additions and 0 deletions

13
system/root-user.nix Normal file
View File

@@ -0,0 +1,13 @@
{ pkgs, config, ... }: {
programs.zsh.enable = true;
sops.secrets.root_password_hash = { };
sops.secrets.root_password_hash.neededForUsers = true;
users.users.root = {
shell = pkgs.zsh;
hashedPasswordFile = config.sops.secrets.root_password_hash.path;
opennsh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAwfb2jpKrBnCw28aevnH8HbE5YbcMXpdaVv2KmueDu6 torjus@gunter"
];
};
}