From 4abf1a806efa4259c44a09c3be9c6b96e9a6054e Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sun, 7 Jan 2024 16:28:09 -0500 Subject: [PATCH] Adding zeroteir to jeeves jr (#26) * added test.* to .gitignore * adding zerotier to jeeves-jr * added comments to .gitignore --- .gitignore | 6 ++++++ systems/jeeves-jr/configuration.nix | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/.gitignore b/.gitignore index 2d32595..e66ac42 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,15 @@ +# direnv .direnv .envrc +# build outputs .*.swp *.retry result result-* +# If you run nix develop it will generate pre-commit hooks using the python library precommit (see https://github.com/RAD-Development/nix-dotfiles/blob/main/flake.nix#L65) /.pre-commit-config.yaml + +# allows test file in reopsitory +test.* diff --git a/systems/jeeves-jr/configuration.nix b/systems/jeeves-jr/configuration.nix index f497805..2866819 100644 --- a/systems/jeeves-jr/configuration.nix +++ b/systems/jeeves-jr/configuration.nix @@ -41,11 +41,18 @@ nfs.server.enable = true; openssh.ports = [ 352 ]; + smartd.enable = true; + zfs = { trim.enable = true; autoScrub.enable = true; }; + + zerotierone = { + enable = true; + joinNetworks = [ "e4da7455b2ae64ca" ]; + }; }; networking.firewall.enable = false;