[Windows] Init config by adding wine and bottles

This commit is contained in:
Antoine Viallon 2023-04-27 12:35:29 +02:00
parent 6d54cd23ae
commit 139c8dec35
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
3 changed files with 20 additions and 0 deletions

View file

@ -17,5 +17,6 @@
./overlays.nix
./optimizations
./non-persistence.nix
./windows
];
}

6
windows/default.nix Normal file
View file

@ -0,0 +1,6 @@
{...}:
{
imports = [
./wine.nix
];
}

13
windows/wine.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, pkgs, lib, ... }:
with lib;
{
options.aviallon.windows.wine = {
enable = mkEnableOption "windows executable support on Linux";
};
config = {
environment.systemPackages = with pkgs; [
bottles
wineWowPackages.waylandFull
];
};
}