Compare commits

..

2 Commits

Author SHA1 Message Date
coolneng 001a293264
Improve service dependency management 2022-12-12 00:15:47 +01:00
coolneng 4ec5710dba
Use point release instead of rolling release 2022-12-11 22:55:42 +01:00
3 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
description = "System configuration for zion"; description = "System configuration for zion";
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs.url = "nixpkgs/nixos-22.11";
agenix = { agenix = {
url = "github:ryantm/agenix"; url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View File

@ -49,6 +49,7 @@ in {
requires = [ "systemd-udev-settle.service" ]; requires = [ "systemd-udev-settle.service" ];
after = [ "systemd-udev-settle.service" ]; after = [ "systemd-udev-settle.service" ];
conflicts = [ "umount.target" ]; conflicts = [ "umount.target" ];
requiredBy = [ "syncthing.service" "radicale.service" "gitea.service" ];
}; };
# HACK: restart services dependent on ZFS afer mount # HACK: restart services dependent on ZFS afer mount

View File

@ -200,5 +200,6 @@
"radicale.service" "radicale.service"
"dendrite.service" "dendrite.service"
"phpfpm-wallabag.service" "phpfpm-wallabag.service"
"systemd-tmpfiles-setup.service"
]; ];
} }