nix daemon fix
This commit is contained in:
parent
7a9e31f66d
commit
fb7a13908d
2 changed files with 4 additions and 2 deletions
|
|
@ -2,13 +2,14 @@
|
|||
Description=Mount OverlayFS for /nix
|
||||
DefaultDependencies=no
|
||||
After=local-fs.target
|
||||
Before=nix-daemon.service
|
||||
Before=systemd-tmpfiles-setup.service nix-daemon.service nix-daemon.socket
|
||||
ConditionPathExists=/usr/bin/mount-nix-overlay.sh
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/mount-nix-overlay.sh
|
||||
ExecStartPost=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nix-daemon.conf
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=sysinit.target
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ modules:
|
|||
enabled:
|
||||
- nix-overlay.service
|
||||
- nix-daemon.service
|
||||
- nix-daemon.socket
|
||||
|
||||
- type: dnf
|
||||
repos:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue