Add mac mini server

This commit is contained in:
Sridhar Ratnakumar 2025-01-18 13:15:07 -05:00
parent 301f333012
commit 90436d0b8e
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,28 @@
# Configuration for my M1 Macbook Max as headless server
{ flake, ... }:
let
inherit (flake) inputs;
inherit (inputs) self;
in
{
nixos-unified.sshTarget = "srid@naivete";
imports = [
self.darwinModules.default
];
nixpkgs.hostPlatform = "aarch64-darwin";
networking.hostName = "naivete";
services.tailscale.enable = true;
system.keyboard = {
enableKeyMapping = true;
remapCapsLockToControl = true;
};
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 4;
}

View file

@ -16,6 +16,11 @@ nom:
pureintent:
nix run . pureintent
# Deploy to Mac Mini
[group('deploy')]
naivete:
nix run . naivete
# Deploy to infinitude (mac)
[group('deploy')]
infinitude: