Remove foehammer backups abstraction, since it was possibly leaky.
This commit is contained in:
parent
cf9c488824
commit
d0f2f77fa0
3 changed files with 8 additions and 24 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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 = [];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -47,9 +47,5 @@ in {
|
||||||
|
|
||||||
environmentFile = cfg.envPath;
|
environmentFile = cfg.envPath;
|
||||||
};
|
};
|
||||||
|
|
||||||
foehammer.backups.paths = [
|
|
||||||
"/var/lib/vaultwarden"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue