diff options
Diffstat (limited to 'nixhome')
-rw-r--r-- | nixhome/.config/nixpkgs/home.nix | 3 | ||||
-rwxr-xr-x | nixhome/Scripts/nix_garbage | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/nixhome/.config/nixpkgs/home.nix b/nixhome/.config/nixpkgs/home.nix index 93d553e..82e85f2 100644 --- a/nixhome/.config/nixpkgs/home.nix +++ b/nixhome/.config/nixpkgs/home.nix @@ -29,7 +29,7 @@ libreoffice-fresh liferea qutebrowser mate.caja audacity gnome3.eog veracrypt xournal remmina musescore fractal gnome3.gnome-disk-utility ipcalc playerctl - xarchive gtkwave gnome3.cheese pandoc + xarchive gtkwave gnome3.cheese pandoc filelight # Other stuff ( texlive.combine { inherit (texlive) @@ -42,6 +42,7 @@ youtube-dl sshpass python38Packages.pynvim aspell aspellDicts.da aspellDicts.en ffmpegthumbnailer tio imagemagick sox poppler_utils + ffmpeg fortune # The python env created in overlay defaultPythonEnv diff --git a/nixhome/Scripts/nix_garbage b/nixhome/Scripts/nix_garbage index ed088dd..4e49508 100755 --- a/nixhome/Scripts/nix_garbage +++ b/nixhome/Scripts/nix_garbage @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -x -nix-env --delete-generations +1 -home-manager expire-generations "-1 days" -sudo nix-collect-garbage --delete-older-than 10d +nix-env --delete-generations +2 +home-manager expire-generations "-10 days" +sudo nix-collect-garbage --delete-older-than 10 sudo nixos-rebuild boot |