1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/nixos/modules/system/boot
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
..
loader nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
binfmt.nix nixos/binfmt: move systemd-binfmt.service to binfmt module 2020-05-18 11:18:44 +02:00
emergency-mode.nix nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
grow-partition.nix
initrd-network.nix initrd-network: fix flushBeforeStage2 2020-08-02 09:00:11 +02:00
initrd-openvpn.nix nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
initrd-ssh.nix nixos/initrd-ssh: add extraConfig Options 2020-05-03 20:11:52 +02:00
kernel.nix Merge pull request #80114 from rnhmjoj/initrd 2020-03-16 20:04:24 +02:00
kernel_config.nix nixos/*: wether -> whether 2020-07-04 15:17:03 +02:00
kexec.nix
luksroot.nix Merge pull request #86236 from ThibautMarty/fix-nullOr-types 2020-08-26 18:21:29 +02:00
modprobe.nix nixos/modprobe: Fix modprobe configuration manpage link 2020-07-06 13:50:11 -07:00
networkd.nix nixos/networkd: use assertRange with 64bits integers 2020-07-13 12:23:51 +02:00
pbkdf2-sha512.c
plymouth.nix plymouth: Enable systemd-ask-password-plymouth 2020-07-02 13:50:23 -04:00
resolved.nix nixos/resolved: Include dbus alias of resolved unit 2020-06-13 12:23:45 +02:00
shutdown.nix
stage-1-init.sh Merge pull request #89353 from wizeman/u/fix-zfs-ebusy 2020-08-22 15:42:32 +02:00
stage-1.nix Merge staging-next into staging 2020-08-26 08:43:29 +02:00
stage-2-init.sh stage-2: parameterized systemd executable 2020-07-14 13:18:14 -04:00
stage-2.nix stage-2: parameterized systemd executable 2020-07-14 13:18:14 -04:00
systemd-lib.nix nixos/systemd-nspawn: disallow multiple packages with .nspawn-units 2020-04-04 21:11:21 +02:00
systemd-nspawn.nix nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
systemd-unit-options.nix nixos/systemd: Add support for listenDatagrams 2020-08-11 22:08:19 +00:00
systemd.nix nixos/systemd: support adding and overriding tmpfiles.d via environment.etc (#96766) 2020-09-02 02:54:11 +00:00
timesyncd.nix nixos/timesyncd: Make dbus-activatible 2020-06-13 12:23:45 +02:00
tmp.nix nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00