home(util): add minimal system option

This commit is contained in:
514fpv 2024-01-17 19:31:56 +08:00
parent 86806b0795
commit ae7c18b397
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
3 changed files with 32 additions and 25 deletions

View file

@ -1,10 +1,14 @@
{ pkgs
, lib
, config
, ... }: with lib; {
, ... }: with lib; let
cfg = config.passthrough.util;
in {
home.packages = with pkgs; [
pv file wget nix-index
e2fsprogs lsscsi zip unzip
pv file wget e2fsprogs
] ++ optionals (!cfg.minimal) [
nix-index
lsscsi zip unzip
pciutils usbutils nvme-cli
] ++ optionals config.passthrough.gui [
gtk-engine-murrine