feat(treewide): trim down packages
This commit is contained in:
parent
f22e33c967
commit
be3d0865f4
3 changed files with 0 additions and 15 deletions
|
|
@ -31,12 +31,5 @@ in
|
||||||
# free up to this many bytes in an automatic invocation
|
# free up to this many bytes in an automatic invocation
|
||||||
# to avoid it taking too long
|
# to avoid it taking too long
|
||||||
nix.settings.max-free = 5000000000; # 5GB
|
nix.settings.max-free = 5000000000; # 5GB
|
||||||
|
|
||||||
environment.systemPackages =
|
|
||||||
with pkgs;
|
|
||||||
lib.mkIf config.nixowos.allowAddingPackages [
|
|
||||||
nixd
|
|
||||||
nixfmt
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -28,11 +28,6 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
|
|
||||||
fonts = lib.mkIf config.nixowos.allowAddingPackages {
|
|
||||||
enableDefaultPackages = lib.mkDefault true;
|
|
||||||
packages = [ pkgs.noto-fonts-cjk-sans ];
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
lib.mkIf config.nixowos.allowAddingPackages [
|
lib.mkIf config.nixowos.allowAddingPackages [
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,6 @@ in
|
||||||
compsize
|
compsize
|
||||||
|
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
|
||||||
python3
|
|
||||||
]
|
]
|
||||||
++ (
|
++ (
|
||||||
if config.nixowos.nvidia.enable then
|
if config.nixowos.nvidia.enable then
|
||||||
|
|
@ -40,7 +38,6 @@ in
|
||||||
else
|
else
|
||||||
[
|
[
|
||||||
btop-rocm
|
btop-rocm
|
||||||
nvtopPackages.amd
|
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue