summaryrefslogtreecommitdiff
path: root/Biz
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-10-16 13:40:40 -0400
committerBen Sima <ben@bsima.me>2024-12-21 10:06:44 -0500
commitb4c8e2581c82151e8dd6fd1f9951568947e71530 (patch)
tree4e1767f8e0725f5a533346e4dee460e396dbd2dc /Biz
parentc34298f8e7174168ee13582c5467ec6e6c7a6215 (diff)
Enable the zsa voyager keyboard
The voyager needed some special udev rules, and a program to do the flashing. I also made the barrier port explicit by moving to Ports.nix.
Diffstat (limited to 'Biz')
-rw-r--r--Biz/Cloud/Ports.nix1
-rw-r--r--Biz/Dev/Beryllium/Configuration.nix7
2 files changed, 6 insertions, 2 deletions
diff --git a/Biz/Cloud/Ports.nix b/Biz/Cloud/Ports.nix
index 69968fb..5b8446c 100644
--- a/Biz/Cloud/Ports.nix
+++ b/Biz/Cloud/Ports.nix
@@ -1,5 +1,6 @@
{
bensIp = "24.140.205.252"; # not a port, but it's convenient
+ barrier = 24800;
bitcoind = 8333;
bitcoind-rpc = 8332;
botamusique = 8181;
diff --git a/Biz/Dev/Beryllium/Configuration.nix b/Biz/Dev/Beryllium/Configuration.nix
index 8daa124..b898764 100644
--- a/Biz/Dev/Beryllium/Configuration.nix
+++ b/Biz/Dev/Beryllium/Configuration.nix
@@ -1,6 +1,7 @@
{ pkgs, ... }:
-{
+let ports = import ../../Cloud/Ports.nix;
+in {
imports = [ # Include the results of the hardware scan.
./Hardware.nix
];
@@ -98,12 +99,14 @@
linuxPackages.v4l2loopback
nvtop
keymapp
+ wally-cli
+ # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
+ # wget
];
systemd.services.NetworkManager-wait-online.enable = false;
networking.firewall.allowedTCPPorts = [ ports.barrier ];
-
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave