sambar: Init

This commit is contained in:
Sridhar Ratnakumar 2025-08-27 12:22:48 -04:00
parent ad59ea79cf
commit 08e7fc9b2c

View file

@ -0,0 +1,31 @@
{ flake, pkgs, ... }:
{
nixos-unified.sshTarget = "nix-infra@sambar";
networking.hostName = "sambar";
# ids.uids.nixbld = 300;
system.stateVersion = 4;
nixpkgs.hostPlatform = "aarch64-darwin";
environment.systemPackages = with pkgs; [
btop
tailscale
];
services = {
openssh.enable = true;
tailscale.enable = true;
};
nix.enable = true;
# Legacy admin user, `nix-infra`. Keeping for compat.
users.users.nix-infra = {
name = "nix-infra";
uid = 502;
home = "/Users/nix-infra";
openssh.authorizedKeys.keys = [
flake.config.me.sshKey
];
};
}