1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-23 03:32:08 +01:00
github.com-tboerger-nixos-c.../machines/modules/tools.nix
2022-02-20 17:46:48 +01:00

38 lines
562 B
Nix

{ pkgs, lib, config, options, ... }:
let
cfg = config.my.modules.tools;
in
{
options = with lib; {
my = {
modules = {
tools = {
enable = mkEnableOption ''
Whether to enable tools module
'';
};
};
};
};
config = with lib;
mkIf cfg.enable {
environment = {
systemPackages = with pkgs; [
coreutils
htop
jq
nmap
rsync
tmux
tree
vim
wget
yq
];
};
};
}