From 3965705c1175d55f5008454717b438208fbbb10b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 27 Feb 2022 08:34:45 -0800 Subject: 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. --- hosts/common/desktop/xserver.nix | 4 ---- users/fcuny/desktop/default.nix | 14 +++++++++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/hosts/common/desktop/xserver.nix b/hosts/common/desktop/xserver.nix index da8cdbe..8a3dee9 100644 --- a/hosts/common/desktop/xserver.nix +++ b/hosts/common/desktop/xserver.nix @@ -40,10 +40,6 @@ gnome = { gnome-keyring.enable = true; - - # Sushi, a quick previewer for Nautilus - sushi.enable = true; - # !https://github.com/NixOS/nixpkgs/issues/16327 at-spi2-core.enable = true; }; 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 - - - - -" + ]; } -- cgit 1.4.1