starsector: init and compatability fix

This commit is contained in:
Christoph Hollizeck 2025-03-23 00:46:56 +01:00
parent d294132e24
commit c9896917b0
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
4 changed files with 7 additions and 5 deletions

View file

@ -19,6 +19,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
discord discord
vesktop
]; ];
}; };
} }

View file

@ -172,7 +172,7 @@ in
"systemctl --user start hyprpolkitagent" "systemctl --user start hyprpolkitagent"
"[workspace 2 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things "[workspace 2 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things
"[workspace 8 silent] discord" "[workspace 8 silent] vesktop"
"[workspace 9 silent] 1password" "[workspace 9 silent] 1password"
"[workspace 1 silent] zen" "[workspace 1 silent] zen"

View file

@ -1,10 +1,8 @@
{ ... }: { ... }:
final: prev: { final: prev: {
starsector = prev.starsector.overrideAttrs (prevAttrs: { starsector = prev.starsector.overrideAttrs (prevAttrs: {
postInstall = '' postInstall = ''
wrapProgram $out/bin/starsector --set __GL_THREADED_OPTIMIZATIONS=0 wrapProgram $out/bin/starsector --set __GL_THREADED_OPTIMIZATIONS 0
''; '';
}); });
} }

View file

@ -22,6 +22,8 @@ in
pyfa pyfa
unzip unzip
microsoft-edge
]; ];
environment.pathsToLink = [ "/libexec" ]; environment.pathsToLink = [ "/libexec" ];
@ -64,6 +66,7 @@ in
_1password = enabled; _1password = enabled;
obs-studio = enabled; obs-studio = enabled;
cli-apps.helix = enabled; cli-apps.helix = enabled;
starsector = enabled;
}; };
desktop.hyprland = { desktop.hyprland = {
@ -103,7 +106,7 @@ in
windowrulev2 = [ windowrulev2 = [
"workspace 8 silent, class:^(steam)$, title:^(Friends List)" "workspace 8 silent, class:^(steam)$, title:^(Friends List)"
"workspace 8 silent, class:^(discord)$, title:^(Discord)" "workspace 8 silent, class:^(vesktop)$, title:^(Discord)"
"workspace 7 silent, class:^(com.obsproject.Studio)$" "workspace 7 silent, class:^(com.obsproject.Studio)$"
]; ];
}; };