summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvin <vin@vineetk.net>2025-10-18 20:05:59 -0400
committervin <vin@vineetk.net>2025-10-18 20:05:59 -0400
commit62285c54c21e4390e22be4763dd4171f7185064b (patch)
tree50c34db05920dcd4ec2852fa5afea1f0a69a5681
parent1f89749b299382f48e61d9777868d0f114374c23 (diff)
demiurge: some alvr stuff
-rw-r--r--hosts/demiurge/default.nix19
1 files changed, 14 insertions, 5 deletions
diff --git a/hosts/demiurge/default.nix b/hosts/demiurge/default.nix
index 75885e3..6b7a55d 100644
--- a/hosts/demiurge/default.nix
+++ b/hosts/demiurge/default.nix
@@ -43,6 +43,7 @@
43 buildInputs = old.buildInputs ++ [ 43 buildInputs = old.buildInputs ++ [
44 super.android-tools 44 super.android-tools
45 super.usbutils 45 super.usbutils
46 super.zenity
46 ]; 47 ];
47 nativeBuildInputs = old.nativeBuildInputs ++ [ super.makeWrapper ]; 48 nativeBuildInputs = old.nativeBuildInputs ++ [ super.makeWrapper ];
48 postInstall = (old.postInstall or "") + '' 49 postInstall = (old.postInstall or "") + ''
@@ -50,6 +51,7 @@
50 super.lib.makeBinPath [ 51 super.lib.makeBinPath [
51 super.android-tools 52 super.android-tools
52 super.usbutils 53 super.usbutils
54 super.zenity
53 ] 55 ]
54 }" 56 }"
55 ''; 57 '';
@@ -65,10 +67,15 @@
65 }; 67 };
66 68
67 # boot options 69 # boot options
68 boot.zfs.extraPools = [ 70 boot = {
69 "data_nvme" 71 # force monitor to always be connected
70 "data_wd" 72 kernelParams = [ "video=DP-4:3440x1440@100e" ];
71 ]; 73
74 zfs.extraPools = [
75 "data_nvme"
76 "data_wd"
77 ];
78 };
72 79
73 # disable wifi and open some ports 80 # disable wifi and open some ports
74 networking = { 81 networking = {
@@ -82,8 +89,10 @@
82 22 89 22
83 80 90 80
84 443 91 443
92 9943
93 9944
85 ]; 94 ];
86 allowedUDPPorts = [ 51413 ]; 95 allowedUDPPorts = [ 9943 9944 51413 ];
87 }; 96 };
88 97
89 interfaces.eth0 = { 98 interfaces.eth0 = {