{ 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 ]; sops.secrets."btrfs-backups/gotify_token" = { owner = "albert"; sopsFile = ../../../../secrets/secrets.yaml; }; }