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