3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Orivej Desh 1a68e21d47
nixos/systemd: support adding and overriding tmpfiles.d via environment.etc (#96766)
This allows the user to configure systemd tmpfiles.d via
`environment.etc."tmpfiles.d/X.conf".text = "..."`, which after #93073
causes permission denied (with new X.conf):

```
ln: failed to create symbolic link '/nix/store/...-etc/etc/tmpfiles.d/X.conf': Permission denied
builder for '/nix/store/...-etc.drv' failed with exit code 1
```

or collision between environment.etc and systemd-default-tmpfiles
packages (with existing X.conf, such as tmp.conf):

```
duplicate entry tmpfiles.d/tmp.conf -> /nix/store/...-etc-tmp.conf
mismatched duplicate entry /nix/store/...-systemd-246/example/tmpfiles.d/tmp.conf <-> /nix/store/...-etc-tmp.conf
builder for '/nix/store/...-etc.drv' failed with exit code 1
```

Fixes #96755
2020-09-02 02:54:11 +00:00
..
config Merge pull request #95869 from jtojnar/fc-local-regression 2020-08-20 23:43:47 +02:00
hardware Merge pull request #91296 from cawilliamson/master 2020-08-21 18:27:46 +02:00
i18n/input-method nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
installer nixos-rebuild: don't quote $EDITOR 2020-08-29 09:54:14 +02:00
misc nixos/nixpkgs.nix: Correct crossSystem default literal 2020-08-26 13:35:35 +02:00
profiles nixos/security/misc: add option unprivilegedUsernsClone 2020-08-25 14:18:24 +03:00
programs nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
security Merge pull request #96034 from saschagrunert/apparmor 2020-08-28 08:08:25 +00:00
services Merge pull request #61019 from volth/gcc.arch-amd 2020-09-01 22:31:16 -04:00
system nixos/systemd: support adding and overriding tmpfiles.d via environment.etc (#96766) 2020-09-02 02:54:11 +00:00
tasks rfkill: remove 2020-08-24 02:49:27 +02:00
testing nixos/test-instrumentation: properly import options for qemu-check 2020-08-18 12:26:49 +02:00
virtualisation nixos/cri-o: unset hooks dir to avoid dir creation on startup 2020-09-01 18:04:54 +10:00
module-list.nix Merge pull request #83780 from hax404/robustirc-bridge 2020-08-31 18:14:45 +02:00
rename.nix meguca: remove (#95920) 2020-08-21 13:00:40 -07:00