This commit is contained in:
alsaiduq-lab 2026-01-15 13:45:39 -07:00
parent 849cae10fa
commit 008b2f6ab5
6 changed files with 21 additions and 41 deletions

View file

@ -3,7 +3,6 @@
programs.hyprland = {
enable = true;
package = pkgs.hyprland;
xwayland.enable = true;
};
@ -12,12 +11,10 @@
extraPortals = [pkgs.xdg-desktop-portal-gtk];
config = {
common = {
default = ["gtk"];
default = ["hyprland" "gtk"];
};
hyprland = {
default = ["gtk"];
"org.freedesktop.impl.portal.ScreenCast" = ["hyprland"];
"org.freedesktop.impl.portal.Screenshot" = ["hyprland"];
default = ["hyprland" "gtk"];
};
};
};

View file

@ -11,21 +11,22 @@
posting
];
networking.firewall.allowedTCPPorts = [57621];
networking.firewall.allowedUDPPorts = [5353];
networking = {
hostName = "nixos";
networkmanager.enable = true;
firewall = {
enable = true;
allowedTCPPorts = [80 443 57621];
allowedTCPPortRanges = [
{
from = 6000;
to = 6767;
}
];
allowedUDPPorts = [5353];
};
};
networking.wireless.enable = false; # Enables wireless support via wpa_supplicant.
networking.hostName = "nixos";
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
networking.networkmanager.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.firewall.enable = false;
services.openssh.enable = true;
# Disable NetworkManager-wait-online to fix boot hang

View file

@ -5,6 +5,7 @@
extraCompatPackages = [
pkgs.proton-ge-bin
pkgs.proton-cachyos
pkgs.dw-proton
];
# for hosting
# dedicatedServer.openFirewall = true;
@ -13,12 +14,6 @@
protontricks.enable = true;
};
programs.wine = {
enable = true;
package = pkgs.wine-cachyos;
ntsync = true;
};
programs.gamescope = {
enable = true;
capSysNice = true;
@ -45,11 +40,12 @@
};
environment.systemPackages = with pkgs; [
lutris
wine-cachyos
wine-tkg
winetricks
mangohud
libstrangle
gamescope-wsi
ipc-bridge
umu-launcher
];
}