From 1bb2859818922b153cddedee467b898d8e89d43b Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 17 Dec 2024 14:00:16 -0700 Subject: [PATCH] Enable sunshine, move to nixos 24.11 --- thenix/etc/nixos/configuration.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/thenix/etc/nixos/configuration.nix b/thenix/etc/nixos/configuration.nix index 588329b..e6c6ce8 100644 --- a/thenix/etc/nixos/configuration.nix +++ b/thenix/etc/nixos/configuration.nix @@ -16,13 +16,16 @@ boot.loader.systemd-boot.enable = true; environment.systemPackages = with pkgs; [ + git neovim + python3 steamcmd + sunshine tmux wget ]; - hardware.pulseaudio.enable = true; + #hardware.pulseaudio.enable = true; # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; @@ -32,7 +35,7 @@ networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "steam" "steam-original" "steam-run" "steamcmd" + "steam" "steam-original" "steam-run" "steam-unwrapped" "steamcmd" ]; programs.firefox.enable = true; @@ -57,6 +60,12 @@ }; services.openssh.enable = true; + services.sunshine = { + autoStart = true; + capSysAdmin = true; + enable = true; + openFirewall = true; + }; systemd.network.enable = true; systemd.network.wait-online.enable = true;