commit 39352081c4d7362296e9669064041e90affd19da
Author: Coder Agent <coder@agents.omni>
Date: Mon Feb 16 09:44:01 2026
Set up Samba file share on beryllium over Tailscale
Add Samba service to beryllium's NixOS configuration to share /home/ben/ava
with read-only guest access over the Tailscale network.
Created Omni/Dev/Beryllium/Samba.nix with samba configuration and imported
it in Omni/Dev/Beryllium.nix. After nixos-rebuild switch, smb://beryllium/ava/
should be browsable from other machines on the Tailscale network.
Task-Id: t-604
diff --git a/Omni/Dev/Beryllium.nix b/Omni/Dev/Beryllium.nix
index b5719106..1909ff2c 100755
--- a/Omni/Dev/Beryllium.nix
+++ b/Omni/Dev/Beryllium.nix
@@ -17,6 +17,7 @@ in
./Beryllium/Live.nix
../Syncthing.nix
../Deploy/Deployer.nix
+ ./Beryllium/Samba.nix
];
networking.hostName = "beryllium";
networking.domain = "beryl.bensima.com";
diff --git a/Omni/Dev/Beryllium/Samba.nix b/Omni/Dev/Beryllium/Samba.nix
new file mode 100644
index 00000000..305e24e1
--- /dev/null
+++ b/Omni/Dev/Beryllium/Samba.nix
@@ -0,0 +1,24 @@
+{
+ pkgs,
+ config,
+ ...
+}: {
+ services.samba = {
+ enable = true;
+ openFirewall = true;
+ settings = {
+ global = {
+ "workgroup" = "WORKGROUP";
+ "server string" = "beryllium";
+ "security" = "user";
+ "map to guest" = "Bad User";
+ };
+ ava = {
+ path = "/home/ben/ava";
+ browseable = "yes";
+ "read only" = "yes";
+ "guest ok" = "yes";
+ };
+ };
+ };
+}