mirror of
https://github.com/librephoenix/nixos-config
synced 2025-11-30 14:43:59 +05:30
18 lines
411 B
Nix
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 ];
|
|
};
|
|
}
|