about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-05-06 00:06:40 +0200
committerFlorian Klink <flokli@flokli.de>2020-05-11 16:14:50 +0200
commit36b6e26d40ae8219302c52cac7f5ac5db9b73532 (patch)
treef9a3ff8971839d2eace09c8a6c526e654d52c48b /nixos/modules/system
parent22975087831bf4bd86c7f54174796c43946ffcdb (diff)
downloadnixlib-36b6e26d40ae8219302c52cac7f5ac5db9b73532.tar
nixlib-36b6e26d40ae8219302c52cac7f5ac5db9b73532.tar.gz
nixlib-36b6e26d40ae8219302c52cac7f5ac5db9b73532.tar.bz2
nixlib-36b6e26d40ae8219302c52cac7f5ac5db9b73532.tar.lz
nixlib-36b6e26d40ae8219302c52cac7f5ac5db9b73532.tar.xz
nixlib-36b6e26d40ae8219302c52cac7f5ac5db9b73532.tar.zst
nixlib-36b6e26d40ae8219302c52cac7f5ac5db9b73532.zip
nixos/systemd: add to system.nssDatabases.group too
nixos/modules/config/nsswitch.nix uses `passwdArray` for both `passwd`
and `group`, but when moving this into the systemd module in
c0995d22eed1a19ac9442c8460c18dd6a4c389b7, it didn't get split
appropriately.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index ffc5387e8102..e05c0c8b2acd 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -848,6 +848,10 @@ in
         [ "mymachines" ]
         (mkAfter [ "systemd" ])
       ]);
+      group = (mkMerge [
+        [ "mymachines" ]
+        (mkAfter [ "systemd" ])
+      ]);
     };
 
     environment.systemPackages = [ systemd ];