global: add universe.packages
This commit is contained in:
parent
817741c49f
commit
4250390003
2 changed files with 17 additions and 9 deletions
|
@ -34,6 +34,10 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
secrets = mkOpt (attrsOf path) { };
|
secrets = mkOpt (attrsOf path) { };
|
||||||
|
|
||||||
|
universe = {
|
||||||
|
packages = mkOpt (listOf package) [ ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
|
@ -7,24 +7,19 @@
|
||||||
environment.defaultPackages = lib.mkForce [ ];
|
environment.defaultPackages = lib.mkForce [ ];
|
||||||
|
|
||||||
# Packages wanted everywhere
|
# Packages wanted everywhere
|
||||||
environment.systemPackages = with pkgs; [
|
universe.packages = with pkgs; [
|
||||||
universe-cli
|
universe-cli
|
||||||
|
|
||||||
agenix
|
agenix
|
||||||
bat
|
bat
|
||||||
binutils
|
|
||||||
btrfs-progs
|
|
||||||
cloc
|
cloc
|
||||||
coreutils-doge
|
coreutils-doge
|
||||||
curl
|
curl
|
||||||
direnv
|
direnv
|
||||||
dnsutils
|
dnsutils
|
||||||
dosfstools
|
|
||||||
erdtree
|
erdtree
|
||||||
eza
|
eza
|
||||||
exfat # Windows drives
|
|
||||||
fd
|
fd
|
||||||
frei
|
|
||||||
git
|
git
|
||||||
htop
|
htop
|
||||||
hyfetch
|
hyfetch
|
||||||
|
@ -37,7 +32,6 @@
|
||||||
manix
|
manix
|
||||||
moreutils
|
moreutils
|
||||||
nmap
|
nmap
|
||||||
ntfs3g # Windows drives
|
|
||||||
parted
|
parted
|
||||||
perl
|
perl
|
||||||
rhash
|
rhash
|
||||||
|
@ -51,7 +45,6 @@
|
||||||
unixtools.whereis
|
unixtools.whereis
|
||||||
unrar-wrapper
|
unrar-wrapper
|
||||||
unzip
|
unzip
|
||||||
usbutils
|
|
||||||
util-linux
|
util-linux
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
|
@ -60,9 +53,20 @@
|
||||||
yq
|
yq
|
||||||
zip
|
zip
|
||||||
] ++ (lib.optionals config.info.graphical (with pkgs; [
|
] ++ (lib.optionals config.info.graphical (with pkgs; [
|
||||||
|
yt-dlp
|
||||||
|
]));
|
||||||
|
|
||||||
|
environment.systemPackages = config.universe.packages ++ (with pkgs; [
|
||||||
|
binutils
|
||||||
|
btrfs-progs
|
||||||
|
dosfstools
|
||||||
|
exfat # Windows drives
|
||||||
|
frei
|
||||||
|
ntfs3g # Windows drives
|
||||||
|
usbutils
|
||||||
|
]) ++ (lib.optionals config.info.graphical (with pkgs; [
|
||||||
arandr
|
arandr
|
||||||
ffmpeg
|
ffmpeg
|
||||||
mpv
|
mpv
|
||||||
yt-dlp
|
|
||||||
]));
|
]));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue