nix daemon fix

This commit is contained in:
randogoth 2026-01-03 16:50:35 +02:00
parent 7a9e31f66d
commit fb7a13908d
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -27,6 +27,7 @@ modules:
enabled:
- nix-overlay.service
- nix-daemon.service
- nix-daemon.socket
- type: dnf
repos: