1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-08 20:13:57 +00:00
ultima/modules/nixos/programs/winapps/default.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
];
};
}