From b57aa01e8e5de7e31005831707debdb1a7869e95 Mon Sep 17 00:00:00 2001 From: macronova Date: Sat, 2 Mar 2024 15:29:23 -0800 Subject: [PATCH] Update Steam Deck config --- linux/blitzar/network.nix | 5 ++--- linux/comet/network.nix | 1 - linux/nebula/network.nix | 1 - linux/protostar/gui.nix | 1 + linux/protostar/network.nix | 11 ++--------- linux/singularity/network.nix | 5 +---- 6 files changed, 6 insertions(+), 18 deletions(-) diff --git a/linux/blitzar/network.nix b/linux/blitzar/network.nix index a6b53ee..5799f6c 100644 --- a/linux/blitzar/network.nix +++ b/linux/blitzar/network.nix @@ -1,8 +1,7 @@ -{ config, ... }: +{ ... }: { - networking = let const = config.constants; in { - domain = const.domain; + networking = { hostId = "30f8f777"; networkmanager = { enable = true; diff --git a/linux/comet/network.nix b/linux/comet/network.nix index 791ecb5..2fdd9a0 100644 --- a/linux/comet/network.nix +++ b/linux/comet/network.nix @@ -2,7 +2,6 @@ { networking = { - domain = config.constants.domain; firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ]; hostId = "3ddd2ad2"; nftables.enable = true; diff --git a/linux/nebula/network.nix b/linux/nebula/network.nix index 6f7c966..fcc6900 100644 --- a/linux/nebula/network.nix +++ b/linux/nebula/network.nix @@ -2,7 +2,6 @@ { networking = { - domain = config.constants.domain; firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ]; hostId = "e6449321"; networkmanager = { diff --git a/linux/protostar/gui.nix b/linux/protostar/gui.nix index b0d0340..caa8925 100644 --- a/linux/protostar/gui.nix +++ b/linux/protostar/gui.nix @@ -3,6 +3,7 @@ let usr = config.constants.userName; in { jovian = { decky-loader.enable = true; + devices.steamdeck.enable = true; steam = { enable = true; autoStart = true; diff --git a/linux/protostar/network.nix b/linux/protostar/network.nix index b9e2b65..7e38d05 100644 --- a/linux/protostar/network.nix +++ b/linux/protostar/network.nix @@ -1,17 +1,10 @@ { config, ... }: -let hn = config.networking.hostName; in { +{ networking = { - domain = config.constants.domain; firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ]; - hostId = "e6449321"; - networkmanager = { - enable = true; - wifi.backend = "iwd"; - }; + hostId = "74247225"; nftables.enable = true; - tempAddresses = "disabled"; - wireless.iwd.enable = true; }; services.openssh.enable = true; } diff --git a/linux/singularity/network.nix b/linux/singularity/network.nix index 2f98a21..b1d96e1 100644 --- a/linux/singularity/network.nix +++ b/linux/singularity/network.nix @@ -2,10 +2,7 @@ let hn = config.networking.hostName; in { networking = { - domain = config.constants.domain; - firewall = { - allowedTCPPorts = with config.constants.port; [ http https ]; - }; + firewall.allowedTCPPorts = with config.constants.port; [ http https ]; hostId = "2cadb253"; nftables.enable = true; };