summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-08-18 18:12:03 +0200
committerJulian T <julian@jtle.dk>2021-08-18 18:12:03 +0200
commitaa63df9abf83e558fcadbdb25a6182fde81531d9 (patch)
tree6cd6f86fc61bc4256f469da0e1377a27d648513b
parenta774c5b13dcbb197615aff8f90748031255be3cd (diff)
More software and garbage rules
-rw-r--r--nixhome/.config/nixpkgs/home.nix3
-rwxr-xr-xnixhome/Scripts/nix_garbage6
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