nixpkgs-suyu/nixos/modules
Jamey Sharp de251704d6 nixos/nscd: run with a dynamic user
nscd doesn't create any files outside of /run/nscd unless the nscd.conf
"persistent" option is used, which we don't do by default. Therefore it
doesn't matter what UID/GID we run this service as, so long as it isn't
shared with any other running processes.

/run/nscd does need to be owned by the same UID that the service is
running as, but systemd takes care of that for us thanks to the
RuntimeDirectory directive.

If someone wants to turn on the "persistent" option, they need to
manually configure users.users.nscd and systemd.tmpfiles.rules so that
/var/db/nscd is owned by the same user that nscd runs as.

In an all-defaults boot.isContainer configuration of NixOS, this removes
the only user which did not have a pre-assigned UID.
2019-07-03 13:27:29 -07:00
..
config networkmanager: Add rc-manager option 2019-07-03 09:40:05 +00:00
hardware Merge staging-next into staging 2019-06-18 11:07:56 +02:00
i18n/input-method
installer sd-image-raspberrypi: populateBoot -> populateFirmware 2019-06-25 20:49:34 -04:00
misc Merge pull request #62891 from jtojnar/nixos-documentation-nixos-help-use-w3m-1-by-default 2019-06-22 21:37:22 -04:00
profiles nixos/hardened: use graphene-hardened malloc by default 2019-05-07 13:45:39 +02:00
programs nixos/captive-browser: fix module 2019-06-14 20:38:33 +02:00
security FIx some malformed XML in option descriptions 2019-05-13 09:15:17 +02:00
services nixos/nscd: run with a dynamic user 2019-07-03 13:27:29 -07:00
system Add configurationLimit to systemd-boot to prevent running out of disk space 2019-06-22 20:11:11 +02:00
tasks nixos/zfs: Remove requestEncryptionCredentials assertion 2019-06-21 03:33:09 +02:00
testing nixos/test: remove the stateVersion statement from the test-instrumentation 2019-06-03 15:05:24 +02:00
virtualisation Merge pull request #53204 from peterhoeg/m/libvirt 2019-06-27 11:39:48 +08:00
module-list.nix Merge pull request #63551 from Steell/roon-server 2019-07-02 10:06:29 +08:00
rename.nix Revert "Merge pull request #63156 from Izorkin/phpfpm-rootless" 2019-06-28 21:47:43 -04:00