Skip to content

Commit 90436d0

Browse files
committed
Add mac mini server
1 parent 301f333 commit 90436d0

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

configurations/darwin/naivete.nix

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Configuration for my M1 Macbook Max as headless server
2+
{ flake, ... }:
3+
4+
let
5+
inherit (flake) inputs;
6+
inherit (inputs) self;
7+
in
8+
{
9+
nixos-unified.sshTarget = "srid@naivete";
10+
11+
imports = [
12+
self.darwinModules.default
13+
];
14+
15+
nixpkgs.hostPlatform = "aarch64-darwin";
16+
networking.hostName = "naivete";
17+
18+
services.tailscale.enable = true;
19+
20+
system.keyboard = {
21+
enableKeyMapping = true;
22+
remapCapsLockToControl = true;
23+
};
24+
25+
# Used for backwards compatibility, please read the changelog before changing.
26+
# $ darwin-rebuild changelog
27+
system.stateVersion = 4;
28+
}

justfile

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ nom:
1616
pureintent:
1717
nix run . pureintent
1818

19+
# Deploy to Mac Mini
20+
[group('deploy')]
21+
naivete:
22+
nix run . naivete
23+
1924
# Deploy to infinitude (mac)
2025
[group('deploy')]
2126
infinitude:

0 commit comments

Comments
 (0)