[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.gopass
|
||||||
pkgs.sshfs
|
pkgs.sshfs
|
||||||
pkgs.gitoxide
|
pkgs.gitoxide
|
||||||
pkgs.xplr
|
|
||||||
];
|
];
|
||||||
# Extra variables
|
# Extra variables
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue