feat(desktop): local restic backup.

This commit is contained in:
CronyAkatsuki 2025-06-22 09:09:36 +02:00
parent 33f606aebf
commit 64a1ecc15e
6 changed files with 144 additions and 71 deletions

View file

@ -0,0 +1,19 @@
{
config,
lib,
...
}: {
options = {
crony.home-secrets.enable = lib.mkEnableOption "Enable home-manager secrets.";
};
config = lib.mkIf config.crony.home-secrets.enable {
age = {
secrets = {
restic-local-pass = {
file = ../../../secrets/restic-local-pass.age;
};
};
identityPaths = ["/home/crony/.ssh/main" "/root/.ssh/id_ed25519"];
};
};
}