1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 19:43:52 +00:00
ultima/modules/home/programs/gui/pkgs.nix

18 lines
291 B
Nix
Raw Normal View History

2024-11-21 09:24:15 +00:00
{ lib, config, ... }:
with lib;
let cfg = config.module.programs.gui;
in {
options = {
module.programs.gui = {
pkgs = mkOption {
type = lib.types.listOf lib.types.package;
default = null;
};
};
};
config = { home.packages = [ ] ++ cfg.pkgs; };
}