diff --git a/nixos/linux.nix b/nixos/linux.nix index 3c7eb47..2e0ffc5 100644 --- a/nixos/linux.nix +++ b/nixos/linux.nix @@ -262,7 +262,7 @@ in { -subj "/CN=mainframe.philippeterson.com" \ -keyout "$SSL_DIR/server.key" \ -out "$SSL_DIR/server.crt" - chmod 640 "$SSL_DIR/server.key" + chmod 600 "$SSL_DIR/server.key" chmod 644 "$SSL_DIR/server.crt" chown 999:999 "$SSL_DIR/server.key" "$SSL_DIR/server.crt" fi