File tree 2 files changed +33
-0
lines changed
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change 16
16
pureintent :
17
17
nix run . pureintent
18
18
19
+ # Deploy to Mac Mini
20
+ [group (' deploy' )]
21
+ naivete :
22
+ nix run . naivete
23
+
19
24
# Deploy to infinitude (mac)
20
25
[group (' deploy' )]
21
26
infinitude :
You can’t perform that action at this time.
0 commit comments