about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2022-09-11 13:07:51 +0200
committerChristian Kögler <ck3d@gmx.de>2022-09-11 13:08:36 +0200
commitcfbf9bd15c15338bfd4406feb50337590aaa430b (patch)
tree4404dbd5e94d46e3491c85306cdba04ebb3a1f23 /nixos
parentb513a55c2277179e1ed3757cc70d267ea8c1336b (diff)
downloadnixlib-cfbf9bd15c15338bfd4406feb50337590aaa430b.tar
nixlib-cfbf9bd15c15338bfd4406feb50337590aaa430b.tar.gz
nixlib-cfbf9bd15c15338bfd4406feb50337590aaa430b.tar.bz2
nixlib-cfbf9bd15c15338bfd4406feb50337590aaa430b.tar.lz
nixlib-cfbf9bd15c15338bfd4406feb50337590aaa430b.tar.xz
nixlib-cfbf9bd15c15338bfd4406feb50337590aaa430b.tar.zst
nixlib-cfbf9bd15c15338bfd4406feb50337590aaa430b.zip
nixos/nspawn: Fix configuration name PrivateUsersOwnership
Fix #189046
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 0d06fb3c0322..d9e42ad5b26b 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" [