mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Windows] Init config by adding wine and bottles
This commit is contained in:
parent
6d54cd23ae
commit
139c8dec35
3 changed files with 20 additions and 0 deletions
|
|
@ -17,5 +17,6 @@
|
||||||
./overlays.nix
|
./overlays.nix
|
||||||
./optimizations
|
./optimizations
|
||||||
./non-persistence.nix
|
./non-persistence.nix
|
||||||
|
./windows
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
6
windows/default.nix
Normal file
6
windows/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{...}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./wine.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
13
windows/wine.nix
Normal file
13
windows/wine.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue