feat(wine): use bottles
This commit is contained in:
@@ -158,7 +158,6 @@
|
|||||||
|
|
||||||
"bin"
|
"bin"
|
||||||
"workspace"
|
"workspace"
|
||||||
"WineApps"
|
|
||||||
"Virt"
|
"Virt"
|
||||||
|
|
||||||
".cache"
|
".cache"
|
||||||
|
|||||||
25
modules/desktop/wine.nix
Normal file
25
modules/desktop/wine.nix
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
lib.my.makeSwitch {
|
||||||
|
inherit config;
|
||||||
|
default = true;
|
||||||
|
optionName = "wine";
|
||||||
|
optionPath = [
|
||||||
|
"desktop"
|
||||||
|
"wine"
|
||||||
|
];
|
||||||
|
config' = {
|
||||||
|
my.home.home.packages = with pkgs; [
|
||||||
|
wineWayland
|
||||||
|
proton-ge-custom
|
||||||
|
bottles
|
||||||
|
];
|
||||||
|
my.persist.homeDirs = [
|
||||||
|
".local/share/bottles"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -7,6 +7,7 @@
|
|||||||
infuse prev {
|
infuse prev {
|
||||||
cage.__output.patches.__append = [ ./cage-specify-output-name.patch ];
|
cage.__output.patches.__append = [ ./cage-specify-output-name.patch ];
|
||||||
matrix-synapse.__assign = final.stable.matrix-synapse;
|
matrix-synapse.__assign = final.stable.matrix-synapse;
|
||||||
|
bottles.__input.removeWarningPopup.__assign = true;
|
||||||
qq.__output.preInstall.__append = ''
|
qq.__output.preInstall.__append = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--wayland-text-input-version=3}}"
|
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--wayland-text-input-version=3}}"
|
||||||
|
|||||||
Reference in New Issue
Block a user