mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-08 20:13:57 +00:00
28 lines
392 B
Nix
28 lines
392 B
Nix
{
|
|
x,
|
|
inputs,
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
with x;
|
|
let
|
|
cfg = config.module.programs.winapps;
|
|
in
|
|
{
|
|
options = {
|
|
module.programs.winapps = {
|
|
enable = mkBool;
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with inputs; [
|
|
winapps.packages.${pkgs.system}.winapps
|
|
winapps.packages.${pkgs.system}.winapps-launcher
|
|
];
|
|
};
|
|
}
|