From c22915268b646ffc16912022343d68029c4e689a Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 30 Apr 2024 17:54:05 +0900 Subject: [PATCH] Updates --- home-manager/common/software/cli/fish.nix | 2 +- nixos/common/software/cli/scripts/clean-hm.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index 1c8acb57..42ad0d64 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -8,7 +8,7 @@ set EDITOR vim ssh-add > /dev/null &> /dev/null if not set -q TMUX && not set -q DISABLE_TMUX - tmux attach || exec tmux new-session + tmux attach || exec tmux new-session && exit end ''; diff --git a/nixos/common/software/cli/scripts/clean-hm.sh b/nixos/common/software/cli/scripts/clean-hm.sh index 55a701f3..371c2e84 100644 --- a/nixos/common/software/cli/scripts/clean-hm.sh +++ b/nixos/common/software/cli/scripts/clean-hm.sh @@ -2,7 +2,8 @@ set -euo pipefail ## Defaults -keepGensDef=30; keepDaysDef=30 +keepGensDef=7 +keepDaysDef=14 keepGens=$keepGensDef; keepDays=$keepDaysDef ## Usage