Enable sunshine, move to nixos 24.11

This commit is contained in:
Eli Ribble 2024-12-17 14:00:16 -07:00
parent 29c5ab1438
commit 1bb2859818
1 changed files with 11 additions and 2 deletions

View File

@ -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;