persist spotify

This commit is contained in:
2026-06-16 22:59:28 -05:00
parent 952e9731ed
commit 6e6b734d4e
2 changed files with 7 additions and 6 deletions
+5 -6
View File
@@ -47,12 +47,13 @@
age.generateKey = true;
defaultSopsFormat = "json";
# test secrets
secrets = {
"networkPasswords" = {
sopsFile = ./secrets/networking.yaml;
key = "networkPasswords";
format = "yaml";
# let the service that needs the secrets own them
owner = "wpa_supplicant";
group = "wpa_supplicant";
};
@@ -136,16 +137,14 @@
wantedBy = [ "initrd.target" ];
before = [ "sysroot.mount" ];
after = [ "zfs-import-zroot.service" ];
path = with pkgs; [
coreutils
zfs
];
path = [ pkgs.zfs ];
unitConfig.DefaultDependencies = "no";
serviceConfig.Type = "oneshot";
script = ''
zfs rollback -r zroot/root@blank && echo "blank rollback complete" | tee /dev/kmsg
zfs rollback -r zroot/root@blank
echo "blank rollback complete" > /dev/kmsg
'';
};
};