Electron sets the Wayland app_id from the package name (lowercase "goofcord") but the desktop file had StartupWMClass=GoofCord (capitalized), causing GNOME to not match the window to its icon. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
49 lines
1.2 KiB
Nix
49 lines
1.2 KiB
Nix
# hosts/FredOS-Gaming.nix
|
|
{ config, pkgs, lib, inputs, ... }:
|
|
{
|
|
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
|
|
environment.systemPackages = with pkgs; [
|
|
lutris
|
|
#(heroic.override {
|
|
# extraPkgs = pkgs: with pkgs; [
|
|
# adwaita-icon-theme
|
|
# ];
|
|
#})
|
|
mangohud
|
|
(goofcord.overrideAttrs (old: {
|
|
postFixup = (old.postFixup or "") + ''
|
|
substituteInPlace $out/bin/goofcord \
|
|
--replace-fail 'exec -a "$0"' 'NIXOS_OZONE_WL=1 exec -a "$0"'
|
|
substituteInPlace $out/share/applications/goofcord.desktop \
|
|
--replace-fail 'StartupWMClass=GoofCord' 'StartupWMClass=goofcord'
|
|
'';
|
|
}))
|
|
lsfg-vk
|
|
lsfg-vk-ui
|
|
faugus-launcher
|
|
adwaita-icon-theme
|
|
mission-center
|
|
geary
|
|
wowup-cf
|
|
adwsteamgtk
|
|
proton-vpn
|
|
onlyoffice-desktopeditors
|
|
vscodium
|
|
];
|
|
|
|
programs.nix-ld.enable = true;
|
|
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
package = pkgs.steam.override {
|
|
extraPkgs = pkgs: with pkgs; [
|
|
adwaita-icon-theme
|
|
];
|
|
};
|
|
};
|
|
|
|
boot.loader.systemd-boot.configurationLimit = 5;
|
|
boot.initrd.systemd.enable = true;
|
|
};
|
|
}
|