fix: reduce size by only installing needed progs
Some checks failed
/ check (nvimDev) (push) Successful in 6s
/ check (nvimHeadless) (push) Successful in 3s
/ check (nvimNoBundledBins) (push) Successful in 7s
/ check (nvimNoLsp) (push) Successful in 5s
/ check (nvimNoTSGrammars) (push) Successful in 7s
/ check (treefmt) (push) Successful in 3s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Failing after 3s
/ build (nvim) (push) Successful in 2s
/ report-size (push) Has been skipped
Some checks failed
/ check (nvimDev) (push) Successful in 6s
/ check (nvimHeadless) (push) Successful in 3s
/ check (nvimNoBundledBins) (push) Successful in 7s
/ check (nvimNoLsp) (push) Successful in 5s
/ check (nvimNoTSGrammars) (push) Successful in 7s
/ check (treefmt) (push) Successful in 3s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Failing after 3s
/ build (nvim) (push) Successful in 2s
/ report-size (push) Has been skipped
- Only install gopass if password-store is enabled - Only install gitoxide if dev config is enabled - Don't install sshfs, haven't used it _ever_ (on NixOS)
This commit is contained in:
parent
5563238f0a
commit
107ffba42c
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