mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
Enable systemd-tmpfiles
This commit is contained in:
parent
518f710547
commit
317a81ada2
|
@ -140,6 +140,11 @@ let
|
|||
"user.slice"
|
||||
"machine.slice"
|
||||
"systemd-machined.service"
|
||||
|
||||
# Temporary file creation / cleanup.
|
||||
"systemd-tmpfiles-clean.service"
|
||||
"systemd-tmpfiles-setup.service"
|
||||
"systemd-tmpfiles-setup-dev.service"
|
||||
]
|
||||
|
||||
++ optionals cfg.enableEmergencyMode [
|
||||
|
@ -739,5 +744,7 @@ in
|
|||
# just like the system units.
|
||||
environment.etc."systemd/user".source = "${systemd}/example/systemd/user";
|
||||
|
||||
environment.etc."tmpfiles.d/x11.conf".source = "${systemd}/example/tmpfiles.d/x11.conf";
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue