From 286048f28de7c7c9b419bad166967784141e1dcd Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Mon, 26 Oct 2020 00:49:01 +0100 Subject: [PATCH] secrets-store: several fixes --- custom/modules/secrets-store.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/modules/secrets-store.nix b/custom/modules/secrets-store.nix index 80986db..0081573 100644 --- a/custom/modules/secrets-store.nix +++ b/custom/modules/secrets-store.nix @@ -25,7 +25,7 @@ let }; mode = mkOption { type = types.str; - default = "0400"; + default = "0440"; description = "File permission (octal format)"; }; path = mkOption @@ -58,7 +58,7 @@ let storedSecrets = mapAttrsRecursiveCond (v: !isFile v) (names: secret: if isFile secret - then "/run/secret/${concatStringsSep "-" names}" + then "/run/secrets/${concatStringsSep "-" names}" else secret) cfg; in {