mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-08 17:23:53 +00:00
18 lines
291 B
Nix
18 lines
291 B
Nix
{ lib, config, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.programs.cli;
|
|
in {
|
|
options = {
|
|
module.programs.cli = {
|
|
pkgs = mkOption {
|
|
type = lib.types.listOf lib.types.package;
|
|
default = null;
|
|
};
|
|
};
|
|
};
|
|
|
|
config = { home.packages = [ ] ++ cfg.pkgs; };
|
|
}
|