diff --git a/hosts/poseidon/default.nix b/hosts/poseidon/default.nix index 1ff88f2..7077116 100644 --- a/hosts/poseidon/default.nix +++ b/hosts/poseidon/default.nix @@ -61,11 +61,14 @@ in # Some programs need SUID wrappers, can be configured further or are # started in user sessions. - programs.fish.enable = true; - programs.gnupg.agent = { - enable = true; - enableSSHSupport = true; - pinentryFlavor = "curses"; + programs = { + fish.enable = true; + gnupg.agent = { + enable = true; + enableSSHSupport = true; + pinentryFlavor = "curses"; + }; + mosh.enable = true; }; # List services that you want to enable: diff --git a/services/borg-backup.nix b/services/borg-backup.nix index 387a304..63aa427 100644 --- a/services/borg-backup.nix +++ b/services/borg-backup.nix @@ -54,6 +54,11 @@ in { environment.BORG_RSH = "ssh -i /root/borgbackup/ssh_key"; compression = "auto,lzma"; startAt = "daily"; + prune.keep = { + daily = 7; + weekly = 4; + monthly = 6; + }; }; }; }