mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat(wine): clean up env vars
This commit is contained in:
parent
d1b1556076
commit
c470c271cf
3 changed files with 112 additions and 131 deletions
|
|
@ -2,17 +2,22 @@
|
|||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
environment = {
|
||||
PROTON_CACHYOS = "${inputs.chaotic.packages.${pkgs.system}.proton-cachyos_x86_64_v3.out}/bin";
|
||||
PROTON_GE = "${inputs.chaotic.packages.${pkgs.system}.proton-ge-custom.out}/bin";
|
||||
#PROTON_WC3 = "/home/kat/.local/share/Steam/compatibilitytools.d/GE-Proton10-1";
|
||||
#PROTON_WC3 = "/home/kat/.local/share/Steam/compatibilitytools.d/Proton-Tkg-2367";
|
||||
#PROTON_WC3 = "/home/kat/.local/share/Steam/steamapps/common/Proton - Experimental";
|
||||
};
|
||||
in {
|
||||
systemd.user.services.gw = {
|
||||
description = "Guild Wars";
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.katwine}/bin/katwine gw";
|
||||
Type = "simple";
|
||||
};
|
||||
environment = {
|
||||
PROTON_CACHYOS = "${inputs.chaotic.packages.${pkgs.system}.proton-cachyos_x86_64_v3.out}/bin";
|
||||
PROTON_GE = "${inputs.chaotic.packages.${pkgs.system}.proton-ge-custom.out}/bin";
|
||||
};
|
||||
inherit environment;
|
||||
};
|
||||
systemd.user.services.gw2 = {
|
||||
description = "Guild Wars 2";
|
||||
|
|
@ -20,10 +25,7 @@
|
|||
ExecStart = "${pkgs.katwine}/bin/katwine gw2";
|
||||
Type = "simple";
|
||||
};
|
||||
environment = {
|
||||
PROTON_CACHYOS = "${inputs.chaotic.packages.${pkgs.system}.proton-cachyos_x86_64_v3.out}/bin";
|
||||
PROTON_GE = "${inputs.chaotic.packages.${pkgs.system}.proton-ge-custom.out}/bin";
|
||||
};
|
||||
inherit environment;
|
||||
};
|
||||
systemd.user.services.battlenet = {
|
||||
description = "Battle.net";
|
||||
|
|
@ -31,10 +33,7 @@
|
|||
ExecStart = "${pkgs.katwine}/bin/katwine bnet";
|
||||
Type = "simple";
|
||||
};
|
||||
environment = {
|
||||
PROTON_CACHYOS = "${inputs.chaotic.packages.${pkgs.system}.proton-cachyos_x86_64_v3.out}/bin";
|
||||
PROTON_GE = "${inputs.chaotic.packages.${pkgs.system}.proton-ge-custom.out}/bin";
|
||||
};
|
||||
inherit environment;
|
||||
};
|
||||
systemd.user.services.sc = {
|
||||
description = "Starcraft";
|
||||
|
|
@ -42,10 +41,7 @@
|
|||
ExecStart = "${pkgs.katwine}/bin/katwine sc";
|
||||
Type = "simple";
|
||||
};
|
||||
environment = {
|
||||
PROTON_CACHYOS = "${inputs.chaotic.packages.${pkgs.system}.proton-cachyos_x86_64_v3.out}/bin";
|
||||
PROTON_GE = "${inputs.chaotic.packages.${pkgs.system}.proton-ge-custom.out}/bin";
|
||||
};
|
||||
inherit environment;
|
||||
};
|
||||
systemd.user.services.sc2 = {
|
||||
description = "Starcraft 2";
|
||||
|
|
@ -53,10 +49,7 @@
|
|||
ExecStart = "${pkgs.katwine}/bin/katwine sc2";
|
||||
Type = "simple";
|
||||
};
|
||||
environment = {
|
||||
PROTON_CACHYOS = "${inputs.chaotic.packages.${pkgs.system}.proton-cachyos_x86_64_v3.out}/bin";
|
||||
PROTON_GE = "${inputs.chaotic.packages.${pkgs.system}.proton-ge-custom.out}/bin";
|
||||
};
|
||||
inherit environment;
|
||||
};
|
||||
# https://lutris.net/games/install/25450/view
|
||||
# Dissection:
|
||||
|
|
@ -68,13 +61,7 @@
|
|||
ExecStart = "${pkgs.katwine}/bin/katwine wc3";
|
||||
Type = "simple";
|
||||
};
|
||||
environment = {
|
||||
PROTON_CACHYOS = "${inputs.chaotic.packages.${pkgs.system}.proton-cachyos_x86_64_v3.out}/bin";
|
||||
PROTON_GE = "${inputs.chaotic.packages.${pkgs.system}.proton-ge-custom.out}/bin";
|
||||
#PROTON_WC3 = "/home/kat/.local/share/Steam/compatibilitytools.d/GE-Proton10-1";
|
||||
#PROTON_WC3 = "/home/kat/.local/share/Steam/compatibilitytools.d/Proton-Tkg-2367";
|
||||
#PROTON_WC3 = "/home/kat/.local/share/Steam/steamapps/common/Proton - Experimental";
|
||||
};
|
||||
inherit environment;
|
||||
};
|
||||
systemd.user.services.kanon = {
|
||||
description = "Kanon";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue