mirror of
https://github.com/librephoenix/nixos-config
synced 2025-11-30 22:54:01 +05:30
Trying winapps
This commit is contained in:
parent
ce51a3a326
commit
e15e4d817e
6 changed files with 113 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
config = lib.mkIf cfg.enable {
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
enableOnBoot = true;
|
||||
|
|
|
|||
18
modules/system/virtualization/winapps/default.nix
Normal file
18
modules/system/virtualization/winapps/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue