-
Notifications
You must be signed in to change notification settings - Fork 0
/
darwin.nix
92 lines (79 loc) · 1.67 KB
/
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
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
83
84
85
86
87
88
89
90
91
92
{ config, pkgs, ... }:{
environment = {
darwinConfig = "$XDG_CONFIG_HOME/nix";
systemPackages = with pkgs; [
bat
eza
fastfetch
fd
fortune
fzf
git
just
lazygit
neovim
ripgrep
sd
starship
tldr
yadm
yazi
zoxide
zsh
];
};
fonts.packages = with pkgs; [
# lexend
(nerdfonts.override { fonts = [ "DroidSansMono" "FiraCode" "JetBrainsMono" ]; })
];
homebrew = {
enable = true;
brews = [];
casks = [
"aerospace"
"balenaetcher"
"firefox"
"google-chrome"
"keepingyouawake"
"spotify"
"transmission"
"vlc"
"wezterm"
];
taps = [];
};
#home-manager = {};
nix = {
# Garbage Collection
gc = {
automatic = true;
interval.Day = 7;
options = "--delete-older-than 7d";
};
# Necessary for using flakes on this system.
settings.experimental-features = "nix-command flakes";
};
programs = {
# Create /etc/zshrc that loads the nix-darwin environment.
zsh.enable = true;
};
security = {
# Enable Touch Id Support for Sudo
pam.enableSudoTouchIdAuth = true;
};
services = {
# Auto upgrade nix package and the daemon service.
nix-daemon.enable = true;
};
system = {
# Set Git commit hash for darwin-version.
# configurationRevision = self.rev or self.dirtyRev or null;
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
stateVersion = 4;
};
users.users.jeffwindsor = {
name = "jeffwindsor";
home = "/Users/jeffwindsor";
};
}