nix-config/home/packages/default.nix
Bruno BELANYI 80c5748122 home: packages: remove 'rr'
No need for this, now that I have a dedicated option for the package.
2022-05-10 13:51:49 +02:00

28 lines
522 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.my.home.packages;
in
{
options.my.home.packages = with lib; {
enable = my.mkDisableOption "user packages";
additionalPackages = mkOption {
type = with types; listOf package;
default = [ ];
example = literalExample ''
with pkgs; [
quasselClient
]
'';
};
};
config.home.packages = with pkgs; lib.mkIf cfg.enable ([
fd
file
mosh
ripgrep
termite.terminfo
] ++ cfg.additionalPackages);
}