From 6767688ef0e2ca9d678b38a5096333e61d216402 Mon Sep 17 00:00:00 2001 From: arnaucube Date: Tue, 5 Nov 2024 18:43:12 +0100 Subject: [PATCH] nixos: add keynav --- nixos/README.md | 3 +++ nixos/common-configuration.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/nixos/README.md b/nixos/README.md index 9e4e727..a2aa475 100644 --- a/nixos/README.md +++ b/nixos/README.md @@ -6,6 +6,9 @@ sudo nix-env --list-generations --profile /nix/var/nix/profiles/system # remove old generations sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations 9 10 11 12 13 X... +# remove old generations except the last 5 generations +sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations +5 + # to remove old programs nix-collect-garbage --delete-old diff --git a/nixos/common-configuration.nix b/nixos/common-configuration.nix index 59a864b..fe38333 100644 --- a/nixos/common-configuration.nix +++ b/nixos/common-configuration.nix @@ -50,6 +50,7 @@ xfce.tumbler # for thumbnails of imgs pavucontrol jq + keynav # other mpv