2024-12-16 00:57:26 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
clean-hm = pkgs.writeScriptBin "clean-hm" "${builtins.readFile ./scripts/clean-hm.sh}";
|
|
|
|
btrfs-backup = pkgs.writeScriptBin "btrfs-backup" "${builtins.readFile ./scripts/btrfs-backup.sh}";
|
|
|
|
in {
|
|
|
|
environment.systemPackages = [
|
|
|
|
clean-hm
|
|
|
|
btrfs-backup
|
|
|
|
];
|
2024-12-19 00:24:10 +01:00
|
|
|
|
|
|
|
sops.secrets."btrfs-backups/gotify_token" = {
|
|
|
|
owner = "albert";
|
|
|
|
sopsFile = ../../../../secrets/secrets.yaml;
|
|
|
|
};
|
2024-12-16 00:57:26 +01:00
|
|
|
}
|
|
|
|
|