feat(wine): use bottles

This commit is contained in:
2025-06-29 15:06:42 +08:00
parent a07742a206
commit 1c6708bad5
3 changed files with 26 additions and 1 deletions

25
modules/desktop/wine.nix Normal file
View 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"
];
};
}