dotfiles/modules/nixos/suites/utils/default.nix

44 lines
687 B
Nix
Raw Permalink Normal View History

{
config,
lib,
pkgs,
2023-07-09 15:24:54 +00:00
inputs,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.aa.suites.utils;
in {
options.aa.suites.utils = {
enable = mkEnableOption "common configuration";
};
config = mkIf cfg.enable {
environment.systemPackages =
(with pkgs; [
alejandra
bat
bind # for dig
curl
deploy-rs
du-dust
fd
file
gnupg
htop
jq
killall
lsof
pre-commit
progress
python3
ripgrep
sqlite
tcpdump
usbutils
wget
])
++ [inputs.agenix.packages.x86_64-linux.default];
};
}