nixos-config/modules/system/virtualization/winapps/default.nix
2025-10-19 09:18:15 -05:00

18 lines
411 B
Nix

{ config, lib, pkgs, inputs, ... }:
let
cfg = config.systemSettings.virtualization.winapps;
in {
options = {
systemSettings.virtualization.winapps = {
enable = lib.mkEnableOption "Enable winapps";
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with inputs.winapps.packages."${pkgs.system}"; [
winapps
winapps-launcher
] ++ [ pkgs.freerdp ];
};
}