[fix] nixos: remove big packages
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 12s

Remove big packages (gcc & clang) from the default configuration (gate
it behind the dev configuration).
This commit is contained in:
Jalil David Salamé Messina 2024-07-02 09:53:07 +02:00
parent dc130e4723
commit 4e85e68b9d
Signed by: jalil
GPG key ID: F016B9E770737A0B
3 changed files with 3 additions and 4 deletions

View file

@ -105,7 +105,6 @@ in {
pkgs.gopass pkgs.gopass
pkgs.sshfs pkgs.sshfs
pkgs.gitoxide pkgs.gitoxide
pkgs.xplr
]; ];
# Extra variables # Extra variables
sessionVariables = { sessionVariables = {

View file

@ -172,9 +172,11 @@ in {
enable = lib.mkEnableOption "development settings" // {default = fromConfig ["dev" "enable"] false;}; enable = lib.mkEnableOption "development settings" // {default = fromConfig ["dev" "enable"] false;};
neovimAsManPager = lib.mkEnableOption "neovim as the man pager"; neovimAsManPager = lib.mkEnableOption "neovim as the man pager";
extraPackages = mkExtraPackagesOption "dev" [ extraPackages = mkExtraPackagesOption "dev" [
["clang"] # LLVM C lang compiler
["jq"] # json parser ["jq"] # json parser
["just"] # just a command runner ["just"] # just a command runner
["typos"] # low false positive rate typo checker ["typos"] # low false positive rate typo checker
["gcc"] # GNU Compiler Collection
["git-absorb"] # fixup! but automatic ["git-absorb"] # fixup! but automatic
["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!!!
@ -190,6 +192,7 @@ in {
["cargo-msrv"] # minimum supported version ["cargo-msrv"] # minimum supported version
["cargo-nextest"] # better testing harness ["cargo-nextest"] # better testing harness
["cargo-sort"] # sort deps and imports ["cargo-sort"] # sort deps and imports
["cargo-udeps"] # check for unused dependencies (requires nightly)
["cargo-watch"] # watch for file changes and run commands ["cargo-watch"] # watch for file changes and run commands
]; ];
}; };

View file

@ -32,9 +32,6 @@ in {
security.pam.services.login.gnupg.enable = true; security.pam.services.login.gnupg.enable = true;
environment.systemPackages = [ environment.systemPackages = [
# Dev tools
pkgs.gcc
pkgs.clang
# CLI tools # CLI tools
pkgs.fd pkgs.fd
pkgs.bat pkgs.bat