mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat(katwine): more work
This commit is contained in:
parent
9f4d7a5ade
commit
433d6435e2
28 changed files with 453 additions and 297 deletions
|
|
@ -1,6 +1,11 @@
|
|||
_: {
|
||||
{pkgs, ...}: {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
package = pkgs.steam.override {
|
||||
extraProfile = ''
|
||||
unset TZ
|
||||
'';
|
||||
};
|
||||
remotePlay.openFirewall = true;
|
||||
platformOptimizations.enable = true;
|
||||
extraCompatPackages = [
|
||||
|
|
|
|||
|
|
@ -1,16 +1,88 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
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";
|
||||
};
|
||||
};
|
||||
systemd.user.services.gw2 = {
|
||||
description = "Guild Wars 2";
|
||||
serviceConfig = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
systemd.user.services.battlenet = {
|
||||
description = "Battle.net";
|
||||
serviceConfig = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
systemd.user.services.sc = {
|
||||
description = "Starcraft";
|
||||
serviceConfig = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
systemd.user.services.sc2 = {
|
||||
description = "Starcraft 2";
|
||||
serviceConfig = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
systemd.user.services.wc3 = {
|
||||
description = "Warcraft 3";
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.katwine}/bin/katwine wc3 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-3";
|
||||
PROTON_WC3 = "/home/kat/.local/share/Steam/steamapps/common/Proton - Experimental";
|
||||
};
|
||||
};
|
||||
systemd.user.services.kanon = {
|
||||
description = "Kanon";
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.katwine}/bin/katwine kanon";
|
||||
Type = "forking";
|
||||
Type = "simple";
|
||||
};
|
||||
};
|
||||
systemd.user.services.hanahira = {
|
||||
description = "Hanahira";
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.katwine}/bin/katwine hanahira";
|
||||
Type = "forking";
|
||||
Type = "simple";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue