From 5a23b66666a0e2ff6c37c1b94babb0e08f1985c1 Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Tue, 15 Apr 2025 23:44:15 +0200 Subject: [PATCH] :sparkles: [pi4] Tailscale, just, nh, experimentals, fish in module --- hosts/pi4/default.nix | 5 +++++ hosts/pi4/development.nix | 11 +++++++++++ hosts/pi4/networking.nix | 5 ++++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 hosts/pi4/development.nix diff --git a/hosts/pi4/default.nix b/hosts/pi4/default.nix index d125052..40e1fb7 100644 --- a/hosts/pi4/default.nix +++ b/hosts/pi4/default.nix @@ -1,11 +1,16 @@ { + lib, systemConfig, ... }: { imports = [ + (lib.custom.relativeToRoot "shared/nix-helper.nix") + (lib.custom.relativeToRoot "shared/nixos.nix") + (lib.custom.relativeToRoot "shared/shell.nix") ./boot.nix + ./development.nix ./hardware.nix ./networking.nix ./security.nix diff --git a/hosts/pi4/development.nix b/hosts/pi4/development.nix new file mode 100644 index 0000000..a2b6e7e --- /dev/null +++ b/hosts/pi4/development.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + # Tools + just + # Formatters + treefmt + shfmt + ]; +} diff --git a/hosts/pi4/networking.nix b/hosts/pi4/networking.nix index abc678c..0849945 100644 --- a/hosts/pi4/networking.nix +++ b/hosts/pi4/networking.nix @@ -6,5 +6,8 @@ networkmanager.enable = true; }; - services.openssh.enable = true; + services = { + openssh.enable = true; + tailscale.enable = true; + }; }