diff options
Diffstat (limited to 'system')
| -rw-r--r-- | system/encryption.nix | 4 | ||||
| -rw-r--r-- | system/users.nix | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/system/encryption.nix b/system/encryption.nix index 45de309..a3b60d4 100644 --- a/system/encryption.nix +++ b/system/encryption.nix @@ -25,4 +25,8 @@ sudo systemctl stop systemd-cryptsetup@ssh\\x2dkeys.service '') ]; + + systemd.tmpfiles.rules = [ + "d /mnt/ssh-keys 0770 root ssh-keys -" + ]; } diff --git a/system/users.nix b/system/users.nix index 3b589b8..87b8e98 100644 --- a/system/users.nix +++ b/system/users.nix @@ -1,7 +1,7 @@ {pkgs, ...}: { users.users.mun = { isNormalUser = true; - extraGroups = ["wheel" "bluetooth" "networkmanager" "kvm" "nixos"]; + extraGroups = ["wheel" "bluetooth" "networkmanager" "kvm" "nixos" "ssh-keys"]; shell = pkgs.zsh; }; } |
