[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.sshfs
pkgs.gitoxide
pkgs.xplr
];
# Extra variables
sessionVariables = {

View file

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

View file

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