device issues

This commit is contained in:
elwrcl committed 2026-10-11 00:06:54 +03:00
1 parent b2c3e75171
commit 9c3f671acf
2 files changed
+55

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
{ ... }:
{
flake.nixosModules.net-localsend =
{ ... }:
{
programs.localsend = {
enable = true;
openFirewall = true;
};
};
}
+44
View File
@@ -0,0 +1,44 @@
{ ... }:
{
flake.nixosModules.net-uxplay =
{ pkgs, ... }:
let
uxplay = pkgs.uxplay.override {
avahi = pkgs.avahi.override { withLibdnssdCompat = true; };
};
uxplay-fixed-ports = pkgs.symlinkJoin {
name = "uxplay-fixed-ports";
paths = [ uxplay ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/uxplay --add-flags "-p"
'';
};
in
{
environment.systemPackages = [ uxplay-fixed-ports ];
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
publish = {
enable = true;
userServices = true;
};
};
networking.firewall = {
allowedTCPPorts = [
7000
7001
7100
];
allowedUDPPorts = [
6000
6001
7011
];
};
};
}