mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 10:06:13 +01:00
d3e46e5413
Signed-off-by: Magic_RB <magic_rb@redalder.org>
24 lines
452 B
Nix
24 lines
452 B
Nix
{ config, lib, pkgs, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.magic_rb.packageCollections.cmdline;
|
|
in
|
|
{
|
|
options.magic_rb.packageCollections.cmdline = {
|
|
enable = mkEnableOption
|
|
''
|
|
A package collection containing command line programs, specifically zip, unzip, unrar (unfree), git, and htop.
|
|
'';
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
zip
|
|
unzip
|
|
unrar
|
|
git
|
|
htop
|
|
];
|
|
};
|
|
}
|