blob: 53f3c031648d7c28341ecd6a9d77275cbc3f585a (
plain) (
blame)
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
{
config,
pkgs,
inputs,
nvim,
username,
...
}: {
imports = [
# ./legacy.nix
./../../hjem-darwin.nix
];
networking = {
computerName = "kenosis";
hostName = "kenosis";
localHostName = "kenosis";
};
# Primary user for user-specific settings (dock, etc.)
system.primaryUser = username;
programs.ssh = {
knownHosts = {
homelab = {
extraHostNames = ["192.168.1.120"];
publicKeyFile = ./../../pubkeys/homelab_ssh.pub;
};
desktop = {
extraHostNames = ["192.168.1.122"];
publicKeyFile = ./../../pubkeys/desktop_ssh.pub;
};
vps = {
extraHostNames = ["170.205.37.7"];
publicKeyFile = ./../../pubkeys/vps_ssh.pub;
};
github = {
extraHostNames = ["github.com"];
publicKeyFile = ./../../pubkeys/github_ssh.pub;
};
};
extraConfig = ''
Host git-vps
HostName git.skullheadx.com
Port 2222
User git
Host git.skullheadx.com
HostName localhost
Port 2223
User git
ProxyJump git-vps
Host homelab
HostName 192.168.1.120
Port 22
Host vps
Hostname 170.205.37.7
Port 2222
'';
};
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
go
nodejs
yarn
kubectl
ffmpeg
dbeaver-bin
claude-code
air
pnpm
librewolf
lazygit
fastfetch
git
go-swag
blender
temporal-cli
corepack
(python313.withPackages (ps:
with ps; [
numpy
]))
imagemagick
audacity
goose
];
homebrew = {
enable = true;
user = username;
taps = [
];
brews = [
];
casks = [
"feishu"
"surfshark"
"google-chrome"
"firefox"
"chatgpt"
"capcut"
"docker-desktop"
"musicbrainz-picard"
"gimp"
];
};
# Dock configuration
system.defaults.dock = {
persistent-apps = [
"/Applications/Nix Apps/Librewolf.app"
"/Applications/Feishu.app"
"/Applications/Ghostty.app"
"/Applications/Nix Apps/DBeaver.app"
"/Applications/Surfshark.app"
"/System/Applications/Utilities/Activity Monitor.app"
];
};
}
|