-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsystem.nix
82 lines (70 loc) · 1.65 KB
/
system.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{ config, pkgs, lib, ... }: {
environment.systemPackages = with pkgs; [
vim
nixd
];
# Address the Determinate error
nix.enable = false;
nix.settings.experimental-features = "nix-command flakes";
system.configurationRevision = null;
system.stateVersion = 6;
system.defaults = {
dock.autohide = true;
dock.mru-spaces = false;
finder.AppleShowAllExtensions = true;
finder.FXPreferredViewStyle = "clmv";
screencapture.location = "~/screenshots";
screensaver.askForPasswordDelay = 10;
};
system.defaults.dock.autohide-delay = 0.2;
system.defaults.NSGlobalDomain."com.apple.sound.beep.volume" = 0.0;
services = {
skhd = {
enable = true;
skhdConfig = ''
cmd - 1 : open -a "Brave Browser"
cmd - 2 : open -a "kitty"
cmd - 3 : open -a "Slack"
cmd - 4 : open -a "Telegram"
'';
};
};
security.pam.services.sudo_local.touchIdAuth = true;
system.defaults.finder = {
NewWindowTarget = "Home";
ShowPathbar = true;
};
system.defaults.loginwindow = {
GuestEnabled = false;
LoginwindowText = "derp durp";
autoLoginUser = "vaporif";
};
system.defaults.menuExtraClock = {
Show24Hour = true;
ShowDayOfMonth = true;
};
homebrew = {
enable = true;
onActivation = {
autoUpdate = true;
upgrade = true;
cleanup = "zap";
};
taps = [
"homebrew/bundle"
"homebrew/services"
];
brews = [
"podman"
];
casks = [
"kitty"
"karabiner-elements"
"telegram"
"tor-browser"
"podman-desktop"
"vlc"
];
};
nixpkgs.hostPlatform = "aarch64-darwin";
}