This commit is contained in:
2026-03-06 17:32:57 +01:00
parent 213c63e81b
commit 62d88daca4
3 changed files with 37 additions and 11 deletions

View File

@@ -4,6 +4,11 @@
sops.secrets."users/mo/password" = {
neededForUsers = true;
};
sops.secrets."ssh/intern/public" = {
owner = "mo";
path = "/home/mo/.ssh/authorized_keys";
mode = "0600";
};
users.mutableUsers = false;
users.users.mo = {
isNormalUser = true;
@@ -12,7 +17,6 @@
shell = pkgs.zsh;
hashedPasswordFile = config.sops.secrets."users/mo/password".path;
};
home-manager.users.mo = {
home.username = "mo";
home.homeDirectory = "/home/mo";