From 0c8eeec43c74fef5d11d3dc0a36523a5e359fee2 Mon Sep 17 00:00:00 2001 From: Yadunand Prem Date: Thu, 30 Oct 2025 15:44:44 +0800 Subject: [PATCH] cleanup nut-gc2 --- systems/x86_64-linux/nut-gc2/default.nix | 25 ++++++++++++------------ 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/systems/x86_64-linux/nut-gc2/default.nix b/systems/x86_64-linux/nut-gc2/default.nix index ea84733..ae7266a 100644 --- a/systems/x86_64-linux/nut-gc2/default.nix +++ b/systems/x86_64-linux/nut-gc2/default.nix @@ -42,10 +42,6 @@ in time.timeZone = "Asia/Singapore"; - services.udev.extraRules = '' - ATTR{address}=="00:72:f1:f7:47:db", NAME="ens3" - ''; - networking = { nameservers = [ "1.1.1.1" @@ -104,23 +100,26 @@ in ]; }; }; - services.openssh = { - enable = true; - settings.PasswordAuthentication = false; + services = { + openssh = { + enable = true; + settings.PasswordAuthentication = false; + }; + zerotierone = { + enable = true; + joinNetworks = [ "23992b9a659115b6" ]; + }; + udev.extraRules = '' + ATTR{address}=="00:72:f1:f7:47:db", NAME="ens3" + ''; }; - services.tailscale.enable = true; - environment.systemPackages = with pkgs; [ git neovim btop ]; - services.zerotierone = { - enable = true; - joinNetworks = [ "23992b9a659115b6" ]; - }; system.stateVersion = "25.11"; }; }