diff --git a/marauder/default.nix b/marauder/default.nix index a6542d4..4b2124f 100755 --- a/marauder/default.nix +++ b/marauder/default.nix @@ -1,4 +1,4 @@ -{ pkgs, inputs, ... }: +{ pkgs, inputs, secrets, ... }: { imports = [ ./backup.nix ]; @@ -136,6 +136,11 @@ enable = true; }; + services.zerotierone = { + enable = true; + joinNetworks = secrets.zerotier.networks; + }; + time.timeZone = "America/Los_Angeles"; system.stateVersion = "24.05"; diff --git a/monolith/default.nix b/monolith/default.nix index d2bded6..85633fb 100755 --- a/monolith/default.nix +++ b/monolith/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: { +{ pkgs, secrets, ... }: { networking = { hostName = "monolith"; hostId = "44551c32"; @@ -41,6 +41,8 @@ }; }; + nixpkgs.config.allowUnfree = true; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; tools.secrets = { @@ -56,6 +58,13 @@ settings.PasswordAuthentication = false; }; + services.zerotierone = { + enable = true; + joinNetworks = secrets.zerotier.networks; + }; + + security.sudo.wheelNeedsPassword = false; + time.timeZone = "America/Los_Angeles"; system.stateVersion = "24.05"; diff --git a/secrets.json b/secrets.json index 354060a..b759365 100755 Binary files a/secrets.json and b/secrets.json differ