Enable sunshine, move to nixos 24.11
This commit is contained in:
parent
29c5ab1438
commit
1bb2859818
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue