fix: reduce size by only installing needed progs #297

Merged
jalil merged 1 commit from push-wwmtosuruwtp into main 2025-02-16 23:59:53 +01:00
2 changed files with 4 additions and 5 deletions
Showing only changes of commit 107ffba42c - Show all commits

View file

@ -37,6 +37,9 @@ in
}; };
}) })
(lib.mkIf cfg.enable { (lib.mkIf cfg.enable {
# Add gopass if pass is enabled
packages = lib.optional config.programs.password-store.enable pkgs.gopass;
nix.settings.use-xdg-base-directories = fromOs [ nix.settings.use-xdg-base-directories = fromOs [
"nix" "nix"
"settings" "settings"
@ -113,11 +116,6 @@ in
home = { home = {
stateVersion = "22.11"; stateVersion = "22.11";
# Extra packages # Extra packages
packages = [
pkgs.gopass
pkgs.sshfs
pkgs.unstable.gitoxide
];
# Extra variables # Extra variables
sessionVariables = { sessionVariables = {
CARGO_HOME = "${config.xdg.dataHome}/cargo"; CARGO_HOME = "${config.xdg.dataHome}/cargo";

View file

@ -199,6 +199,7 @@ in
[ "typos" ] # low false positive rate typo checker [ "typos" ] # low false positive rate typo checker
[ "gcc" ] # GNU Compiler Collection [ "gcc" ] # GNU Compiler Collection
[ "git-absorb" ] # fixup! but automatic [ "git-absorb" ] # fixup! but automatic
[ "gitoxide" ] # git but RiiR
[ "man-pages" ] # gimme the man pages [ "man-pages" ] # gimme the man pages
[ "man-pages-posix" ] # I said gimme the man pages!!! [ "man-pages-posix" ] # I said gimme the man pages!!!
]; ];