From 0a2f22b0af6e73ebf87d2f45f3c3acbd8d8ac8e8 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Fri, 30 Aug 2024 01:20:13 +0200 Subject: [PATCH] Remove htop Additionally, tweak restic a bit and add more comments there --- README.md | 1 + hosts/nixos/common/global/cli/htop.nix | 6 ------ hosts/nixos/common/global/default.nix | 1 - .../common/optional/services/restic/default.nix | 14 ++++++++------ 4 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 hosts/nixos/common/global/cli/htop.nix diff --git a/README.md b/README.md index 5bee2b3..b7acef5 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,7 @@ Most services are served over [tailscale](https://tailscale.com/), using certifi Includes links to stuff which used to be in the previous section but is not used anymore. Only created this section in June 2023, so stuff I used earlier might not be here. Sorted with the most recently dropped things at the top. +- [htop](https://htop.dev/) — I switched to [bottom](https://github.com/ClementTsang/bottom), as the interface felt way cleaner - [Wezterm](https://github.com/wez/wezterm) — I switched to [Foot](https://codeberg.org/dnkl/foot), as wezterm was laggy, unstable, and kept breaking between releases - [Ranger](https://github.com/ranger/ranger) — I switched to [Yazi](https://github.com/sxyazi/yazi) - [firenvim](https://glacambre/firenvim) - the concept is cool, but I found the whole thing pretty annoying at times diff --git a/hosts/nixos/common/global/cli/htop.nix b/hosts/nixos/common/global/cli/htop.nix deleted file mode 100644 index 7a62e4c..0000000 --- a/hosts/nixos/common/global/cli/htop.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ - programs.htop = { - enable = true; - settings.tree_view = true; - }; -} diff --git a/hosts/nixos/common/global/default.nix b/hosts/nixos/common/global/default.nix index 7181a9b..da71d50 100644 --- a/hosts/nixos/common/global/default.nix +++ b/hosts/nixos/common/global/default.nix @@ -16,7 +16,6 @@ let # }}} # {{{ global configuration ./cli/fish.nix - ./cli/htop.nix ./services/openssh.nix ./nix.nix ./locale.nix diff --git a/hosts/nixos/common/optional/services/restic/default.nix b/hosts/nixos/common/optional/services/restic/default.nix index d25d6fb..739f9d7 100644 --- a/hosts/nixos/common/optional/services/restic/default.nix +++ b/hosts/nixos/common/optional/services/restic/default.nix @@ -19,12 +19,11 @@ let extraOptions = [ "sftp.args='-i ${config.users.users.pilot.home}/.ssh/id_ed25519'" ]; exclude = [ - # Syncthing / direnv / git / snapper stuff - ".direnv" - ".git" - ".stfolder" - ".stversions" - ".snapshots" + ".direnv" # Direnv + ".git" # Git + ".stfolder" # Syncthing + ".stversions" # Syncthing + ".snapshots" # Snapper ] ++ exclude; }; in @@ -47,6 +46,9 @@ in exclude = [ # Projects are available on github and in my own forge already "/persist/data${config.users.users.pilot.home}/projects" + + # Screenshots are usually worthless + "/persist/data${config.users.users.pilot.home}/media/pictures/screenshots" ]; }; # }}}