[fix] nixos: remove big packages
Remove big packages (gcc & clang) from the default configuration (gate it behind the dev configuration).
This commit is contained in:
parent
dc130e4723
commit
4e85e68b9d
3 changed files with 3 additions and 4 deletions
|
@ -105,7 +105,6 @@ in {
|
|||
pkgs.gopass
|
||||
pkgs.sshfs
|
||||
pkgs.gitoxide
|
||||
pkgs.xplr
|
||||
];
|
||||
# Extra variables
|
||||
sessionVariables = {
|
||||
|
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue