From f57fa79543a1784ee146666e3ad30d0d126ecd92 Mon Sep 17 00:00:00 2001 From: Avery Date: Sun, 29 Jun 2025 16:58:57 +0200 Subject: [PATCH] Some tweaks --- hosts/totsugeki/nixos/default.nix | 26 +++++++++++++------------- hosts/totsugeki/nixos/steam.nix | 7 ------- 2 files changed, 13 insertions(+), 20 deletions(-) delete mode 100644 hosts/totsugeki/nixos/steam.nix diff --git a/hosts/totsugeki/nixos/default.nix b/hosts/totsugeki/nixos/default.nix index ceb7eeb..d99e8b2 100644 --- a/hosts/totsugeki/nixos/default.nix +++ b/hosts/totsugeki/nixos/default.nix @@ -1,6 +1,6 @@ { lib, pkgs, ... }: { - imports = [ ./filesystems.nix ./steam.nix ]; + imports = [ ./filesystems.nix ]; boot = { kernelModules = [ "kvm-amd" ]; @@ -18,10 +18,6 @@ configurationLimit = 10; consoleMode = "max"; editor = false; - windows."11" = { - title = "Windows 11 Pro N"; - efiDeviceHandle = "HD2d"; - }; }; efi.canTouchEfiVariables = true; }; @@ -35,8 +31,13 @@ networking = { firewall = { enable = true; - allowedTCPPorts = [ 8000 42595 1420 7777 8080 9501 ]; - allowedUDPPorts = [ 24642 ]; + allowedTCPPorts = [ + 42595 # qBitTorrent + 7777 # Terraria + ]; + allowedUDPPorts = [ + 24642 # Stardew Valley + ]; }; hostName = "totsugeki"; networkmanager.enable = true; @@ -84,15 +85,18 @@ gpuOverclock.enable = true; }; dconf.enable = true; - nix-ld.enable = true; hyprland.enable = true; + steam = { + enable = true; + remotePlay.openFirewall = true; + }; virt-manager.enable = true; }; security.polkit = { enable = true; }; xdg.portal = { - config.common = { default = "gtk"; }; + config.common.default = "gtk"; enable = true; extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; }; @@ -114,10 +118,6 @@ }; }; gvfs.enable = true; - jellyfin = { - enable = true; - openFirewall = true; - }; mullvad-vpn = { enable = true; package = pkgs.mullvad-vpn; diff --git a/hosts/totsugeki/nixos/steam.nix b/hosts/totsugeki/nixos/steam.nix deleted file mode 100644 index bc13418..0000000 --- a/hosts/totsugeki/nixos/steam.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ pkgs, ... }: { - programs.steam = { - enable = true; - remotePlay.openFirewall = true; - gamescopeSession.enable = true; - }; -}