adding sunshine
This commit is contained in:
@@ -80,6 +80,20 @@
|
||||
variant = "";
|
||||
};
|
||||
|
||||
services.sunshine = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
capSysAdmin = true; # Required for KMS screen capture (especially on Wayland)
|
||||
openFirewall = true; # Automatically opens required ports for Moonlight
|
||||
};
|
||||
|
||||
# Enable Avahi so Moonlight automatically discovers your PC on the network
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
publish.enable = true;
|
||||
publish.userServices = true;
|
||||
};
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = false;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
boot.initrd.availableKernelModules = ["virtio_pci" "virtio_scsi" "ahci" "sd_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = [];
|
||||
boot.kernelModules = [uinput];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" = {
|
||||
|
||||
Reference in New Issue
Block a user