Added configuration for desktop

This commit is contained in:
2024-03-12 21:24:29 +01:00
parent 4fdc520c13
commit 7ab4886e90
9 changed files with 219 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
unstable.sunshine
];
services.udev.extraRules = ''
KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess"
'';
services.avahi = {
enable = true;
};
networking.firewall = {
allowedTCPPorts = [ 48010 ];
allowedTCPPortRanges = [
{ from = 47984; to = 47990; }
];
allowedUDPPortRanges = [
{ from = 47998; to = 48000; }
];
};
}