Remove foehammer backups abstraction, since it was possibly leaky.

This commit is contained in:
Lorenzo Good 2025-02-04 14:02:19 -06:00
parent cf9c488824
commit d0f2f77fa0
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
3 changed files with 8 additions and 24 deletions

View file

@ -2,15 +2,14 @@
sops.age.sshKeyPaths = ["/persist/etc/ssh/ssh_host_ed25519_key"]; sops.age.sshKeyPaths = ["/persist/etc/ssh/ssh_host_ed25519_key"];
environment.persistence."/persist" = { environment.persistence."/persist" = {
directories = directories = [
[
"/var/lib/tailscale" "/var/lib/tailscale"
"/var/log" "/var/log"
"/var/lib/nixos" "/var/lib/nixos"
"/var/lib/docker" "/var/lib/docker"
"/var/lib/caddy/.local/share/caddy" "/var/lib/caddy/.local/share/caddy"
] "/var/lib/vaultwarden"
++ config.foehammer.backups.paths; ];
files = [ files = [
"/etc/machine-id" "/etc/machine-id"

View file

@ -1,11 +0,0 @@
{lib, ...}: let
inherit (lib) mkOption types;
in {
# Generic Backups.
options.foehammer.backups = {
paths = mkOption {
type = types.nullOr (types.listOf types.str);
default = [];
};
};
}

View file

@ -47,9 +47,5 @@ in {
environmentFile = cfg.envPath; environmentFile = cfg.envPath;
}; };
foehammer.backups.paths = [
"/var/lib/vaultwarden"
];
}; };
} }