added script for domains

This commit is contained in:
naturallaw777 committed 2026-03-27 17:46:52 -05:00
1 parent 7509807938
commit 20c28e8be5
5 files changed
+231 -75

No files matched your search

+3
View File
@@ -11,6 +11,9 @@ lib.mkIf config.sovran_systemsOS.services.vaultwarden {
Type = "oneshot";
RemainAfterExit = true;
};
unitConfig = {
ConditionPathExists = "/var/lib/domains/vaultwarden";
};
path = [ pkgs.coreutils ];
script = ''
VAULTWARDEN=$(cat /var/lib/domains/vaultwarden)