diff options
author | Soispha <soispha@vhack.eu> | 2023-07-04 21:36:35 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-04 21:36:35 +0200 |
commit | f3f8e43a670b2f8e745ef93b4f6d04ca9cf8d4c5 (patch) | |
tree | 8bb15b4b6463b70e82765166fc3f42147b995101 /system/file_system_layouts/impermanence.nix | |
parent | Fix(system/services/nginx): Create nix-sync cache through impermanence (diff) | |
download | nixos-server-f3f8e43a670b2f8e745ef93b4f6d04ca9cf8d4c5.tar.gz nixos-server-f3f8e43a670b2f8e745ef93b4f6d04ca9cf8d4c5.zip |
Fix(system/services/openssh): Set correct permissions on ssh dir
Diffstat (limited to '')
-rw-r--r-- | system/file_system_layouts/impermanence.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/file_system_layouts/impermanence.nix b/system/file_system_layouts/impermanence.nix index 7e8a659..69af468 100644 --- a/system/file_system_layouts/impermanence.nix +++ b/system/file_system_layouts/impermanence.nix @@ -13,6 +13,12 @@ group = "nix-sync"; mode = "0700"; } + { + directory = "/var/lib/sshd"; + user = "root"; + group = "root"; + mode = "0700"; + } ]; files = [ "/etc/machine-id" |