aboutsummaryrefslogtreecommitdiff
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
parentpam: drop GDM configuration (diff)
downloadinfra-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.
-rw-r--r--hosts/common/desktop/xserver.nix4
-rw-r--r--users/fcuny/desktop/default.nix14
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 - - - - -"
+ ];
}