Clean up wivrn
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
{ user, home }:
|
{ user, home }:
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [ 9757 ];
|
||||||
|
allowedUDPPorts = [ 9757 ];
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
udev.packages = with pkgs; [ android-udev-rules ];
|
udev.packages = with pkgs; [ android-udev-rules ];
|
||||||
|
|
||||||
@@ -14,14 +19,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
|
||||||
allowedTCPPorts = [ 9757 ];
|
|
||||||
allowedUDPPorts = [ 9757 ];
|
|
||||||
};
|
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [ wivrn ];
|
|
||||||
|
|
||||||
pathsToLink = [ "/share/openxr" ];
|
pathsToLink = [ "/share/openxr" ];
|
||||||
etc."xdg/openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json";
|
etc."xdg/openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json";
|
||||||
|
|
||||||
@@ -30,4 +28,6 @@
|
|||||||
"/persist/state"."${home}/.config/wivrn" = { };
|
"/persist/state"."${home}/.config/wivrn" = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.users.${user}.home.packages = with pkgs; [ wivrn ];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user