diff --git a/hosts/cirrostratus/restic.nix b/hosts/cirrostratus/restic.nix index ec4c372..8710671 100644 --- a/hosts/cirrostratus/restic.nix +++ b/hosts/cirrostratus/restic.nix @@ -42,21 +42,14 @@ in { ]; services.restic.backups = lib.mkIf (inputs ? nix-secrets) { - local = { - repositoryFile = "/backup/restic/"; + remote = { + repositoryFile = config.sops.secrets.restic-url.path; passwordFile = config.sops.secrets.restic-password.path; initialize = true; paths = [ "/storage/syncthing" "/storage/factorio" ]; - pruneOpts=[ - "--keep-within 14d" - "--keep-daily 14" - "--keep-weekly 8" - "--keep-monthly 12" - "--keep-yearly 10" - ]; timerConfig = { OnCalendar = "daily"; Persistent = true; diff --git a/roles/home-manager/minimal-terminal.nix b/roles/home-manager/minimal-terminal.nix index c022539..dcf228e 100644 --- a/roles/home-manager/minimal-terminal.nix +++ b/roles/home-manager/minimal-terminal.nix @@ -21,7 +21,6 @@ home.packages = with pkgs; [ sshfs just - dua fd sd curl diff --git a/roles/home-manager/terminal.nix b/roles/home-manager/terminal.nix index e6ec45e..739e99a 100644 --- a/roles/home-manager/terminal.nix +++ b/roles/home-manager/terminal.nix @@ -21,6 +21,7 @@ home.packages = with pkgs; [ tre-command hyperfine + dua fclones libqalculate ];