diff options
author | Yorick van Pelt <yorick@yorickvanpelt.nl> | 2022-10-28 17:23:44 +0200 |
---|---|---|
committer | Yorick van Pelt <yorick@yorickvanpelt.nl> | 2022-10-28 17:23:44 +0200 |
commit | af4a43e36a697edbd108d3aabaacadfbe631b294 (patch) | |
tree | 9b341a298745bda1d3a76a5648eb4e695bef0fdd /nixos/modules/security | |
parent | 4fce8949409b4eb6250edf612cf30ab9a94c0da6 (diff) |
treewide: convert fake octal ints to strings
These were being cast to strings later and then reinterpreted as octal.
Diffstat (limited to 'nixos/modules/security')
-rw-r--r-- | nixos/modules/security/acme/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/security/acme/default.nix b/nixos/modules/security/acme/default.nix index 1c4a88954b655..4e163901b0887 100644 --- a/nixos/modules/security/acme/default.nix +++ b/nixos/modules/security/acme/default.nix @@ -26,8 +26,8 @@ let Type = "oneshot"; User = user; Group = mkDefault "acme"; - UMask = 0022; - StateDirectoryMode = 750; + UMask = "0022"; + StateDirectoryMode = "750"; ProtectSystem = "strict"; ReadWritePaths = [ "/var/lib/acme" @@ -85,7 +85,7 @@ let serviceConfig = commonServiceConfig // { StateDirectory = "acme/.minica"; BindPaths = "/var/lib/acme/.minica:/tmp/ca"; - UMask = 0077; + UMask = "0077"; }; # Working directory will be /tmp @@ -243,7 +243,7 @@ let serviceConfig = commonServiceConfig // { Group = data.group; - UMask = 0027; + UMask = "0027"; StateDirectory = "acme/${cert}"; |