-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdarwin.nix
55 lines (43 loc) · 1002 Bytes
/
darwin.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{ pkgs, ... }:
{
imports = [
./modules/homebrew.nix
];
environment.systemPackages = [ ];
services.nix-daemon.enable = true;
nix.settings.experimental-features = "nix-command flakes";
nixpkgs = {
hostPlatform = "aarch64-darwin";
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
};
programs.zsh.enable = true;
system = {
stateVersion = 4;
defaults = {
dock = {
autohide = true;
orientation = "bottom";
persistent-apps = [ ];
show-recents = false;
};
NSGlobalDomain = {
NSAutomaticSpellingCorrectionEnabled = false;
"com.apple.swipescrolldirection" = false;
InitialKeyRepeat = 15;
KeyRepeat = 2;
};
};
keyboard = {
enableKeyMapping = true;
remapCapsLockToControl = true;
};
};
security.pam.enableSudoTouchIdAuth = true;
users.users.speedy = {
name = "speedy";
home = "/Users/speedy";
};
}