diff options
author | Peter Hoeg <peter@hoeg.com> | 2017-08-02 16:16:42 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2017-08-03 10:51:06 +0800 |
commit | 72a64ea4f1f32d77b1fd34eb07efc904ae415f6b (patch) | |
tree | 08d714a32dd6c6653b5968ce1ba8b82fef682b12 /nixos/modules/config/nsswitch.nix | |
parent | 5d62d8775c77237b9d0917ff935d594abf3cd8b7 (diff) |
nsswitch: add systemd module
In order for DynamicUser = true to work in services, we need the
nss-systemd module to be able to resolve the user and group names
generated dynamically.
Diffstat (limited to 'nixos/modules/config/nsswitch.nix')
-rw-r--r-- | nixos/modules/config/nsswitch.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/config/nsswitch.nix b/nixos/modules/config/nsswitch.nix index 16c43a99ad56..97278238dcd5 100644 --- a/nixos/modules/config/nsswitch.nix +++ b/nixos/modules/config/nsswitch.nix @@ -28,7 +28,8 @@ let passwdArray = [ "files" ] ++ optional sssd "sss" ++ optionals ldap [ "ldap" ] - ++ optionals mymachines [ "mymachines" ]; + ++ optionals mymachines [ "mymachines" ] + ++ [ "systemd" ]; shadowArray = [ "files" ] ++ optional sssd "sss" |