fix: reduce size by only installing needed progs #297
2 changed files with 4 additions and 5 deletions
|
@ -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";
|
||||||
|
|
|
@ -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!!!
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue