about summary refs log tree commit diff
path: root/users/fcuny
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-27 08:34:45 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-27 13:05:31 -0800
commit3965705c1175d55f5008454717b438208fbbb10b (patch)
treedb3d1f91ff3b8b88ec3290acbf0296da3a66abd7 /users/fcuny
parentpam: drop GDM configuration (diff)
downloadworld-3965705c1175d55f5008454717b438208fbbb10b.tar.gz
software: drop nautilus, add a few more things
Replace nautilus with pcmanfm, which is more than enough for my needs (I
still can't open correctly images / PDF with nautilus, I don't care
why).

Add a few more packages (seahorse, easyeffects) to improve usability of
the desktop.
Diffstat (limited to '')
-rw-r--r--users/fcuny/desktop/default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/users/fcuny/desktop/default.nix b/users/fcuny/desktop/default.nix
index c19eb6f..947b300 100644
--- a/users/fcuny/desktop/default.nix
+++ b/users/fcuny/desktop/default.nix
@@ -14,10 +14,13 @@
   ];
 
   home.packages = [
+    pkgs.easyeffects
+    pkgs.gnome.seahorse
     pkgs.gnome3.eog
     pkgs.gnome3.evince
-    pkgs.gnome3.nautilus
+    pkgs.pcmanfm
     pkgs.transmission-remote-gtk
+    pkgs.xdg-utils
   ];
 
   home = {
@@ -26,4 +29,13 @@
       TERM = [ "xterm-256color" ];
     };
   };
+
+  systemd.user.tmpfiles.rules = [
+    # Delete files that are 90 days old
+    "d %h/.cache - - - amAM:90d -"
+    "x %h/.cache/.nobackup - - - - -"
+    # Delete files that are 1 year old
+    "d %h/downloads - - - amAM:365d -"
+    "x %h/downloads/.nobackup - - - - -"
+  ];
 }