about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2022-09-12 21:02:51 +0200
committerGitHub <noreply@github.com>2022-09-12 21:02:51 +0200
commit3c263e491c5cbeb52f2b7ef0b569defee84c9ac5 (patch)
treed90b442696203899aea63018c7380a58d41492c6 /nixos
parenteaa9a41171d84d0e824a6b81a3a2aa4cacb8ac7e (diff)
parentcfbf9bd15c15338bfd4406feb50337590aaa430b (diff)
Merge pull request #190771 from ck3d/fix-nixos-nspawn-privateusers
nixos/nspawn: Fix configuration name PrivateUsersOwnership
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/systemd/nspawn.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/systemd/nspawn.nix b/nixos/modules/system/boot/systemd/nspawn.nix
index 0d06fb3c0322b..d9e42ad5b26b1 100644
--- a/nixos/modules/system/boot/systemd/nspawn.nix
+++ b/nixos/modules/system/boot/systemd/nspawn.nix
@@ -27,12 +27,12 @@ let
     (assertOnlyFields [
       "ReadOnly" "Volatile" "Bind" "BindReadOnly" "TemporaryFileSystem"
       "Overlay" "OverlayReadOnly" "PrivateUsersChown" "BindUser"
-      "Inaccessible" "PrivateUserOwnership"
+      "Inaccessible" "PrivateUsersOwnership"
     ])
     (assertValueOneOf "ReadOnly" boolValues)
     (assertValueOneOf "Volatile" (boolValues ++ [ "state" ]))
     (assertValueOneOf "PrivateUsersChown" boolValues)
-    (assertValueOneOf "PrivateUserOwnership" [ "off" "chown" "map" "auto" ])
+    (assertValueOneOf "PrivateUsersOwnership" [ "off" "chown" "map" "auto" ])
   ];
 
   checkNetwork = checkUnitConfig "Network" [