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