setup sunshine + moonlight
This commit is contained in:
parent
4f344a8129
commit
fc2563a58d
@ -5,6 +5,7 @@
|
||||
|
||||
nixosProfiles.stable-diffusion
|
||||
nixosProfiles.a2ln-server
|
||||
nixosProfiles.sunshine
|
||||
];
|
||||
|
||||
deviceSpecific.devInfo = {
|
||||
|
@ -95,6 +95,7 @@ with config.deviceSpecific; {
|
||||
gamescope
|
||||
goverlay
|
||||
lutris
|
||||
moonlight-qt
|
||||
obs-studio
|
||||
polymc
|
||||
reshade-shaders
|
||||
|
19
profiles/applications/sunshine.nix
Normal file
19
profiles/applications/sunshine.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
home-manager.users.alukard = {
|
||||
home.packages = [ pkgs.sunshine ];
|
||||
systemd.user.services.sunshine = {
|
||||
Unit.Description = "Sunshine is a Gamestream host for Moonlight.";
|
||||
Service.ExecStart = "${pkgs.sunshine}/bin/sunshine";
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
47984 47989 48010
|
||||
47990
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
47998 47999 48000 48002 48010
|
||||
];
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user