tangled
alpha
login
or
join now
dunkirk.sh
/
dots
3
fork
atom
Kieran's opinionated (and probably slightly dumb) nix config
3
fork
atom
overview
issues
pulls
pipelines
feat: add duncan to terebithia
dunkirk.sh
2 months ago
0ab84a22
0cb19406
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+41
3 changed files
expand all
collapse all
unified
split
machines
terebithia
default.nix
home
duncan.nix
home-manager.nix
+17
machines/terebithia/default.nix
···
81
81
gotools
82
82
go-tools
83
83
gcc
84
84
+
jre
84
85
# misc
85
86
neofetch
86
87
git
···
172
173
"services"
173
174
];
174
175
};
176
176
+
duncan = {
177
177
+
initialPassword = "changeme";
178
178
+
isNormalUser = true;
179
179
+
shell = pkgs.zsh;
180
180
+
openssh.authorizedKeys.keys = [
181
181
+
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPe38rGtuixnMpGoCwtzXJ2qkPKt16icS7KI+XO0meAE duncanhalderman@Duncans-MacBook-Air.local"
182
182
+
];
183
183
+
extraGroups = [
184
184
+
"wheel"
185
185
+
"networkmanager"
186
186
+
];
187
187
+
};
175
188
root.openssh.authorizedKeys.keys = [
176
189
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCzEEjvbL/ttqmYoDjxYQmDIq36BabROJoXgQKeh9liBxApwp+2PmgxROzTg42UrRc9pyrkq5kVfxG5hvkqCinhL1fMiowCSEs2L2/Cwi40g5ZU+QwdcwI8a4969kkI46PyB19RHkxg54OUORiIiso/WHGmqQsP+5wbV0+4riSnxwn/JXN4pmnE//stnyAyoiEZkPvBtwJjKb3Ni9n3eNLNs6gnaXrCtaygEZdebikr9kS2g9mM696HvIFgM6cdR/wZ7DcLbG3IdTXuHN7PC3xxL+Y4ek5iMreQIPmuvs4qslbthPGYoYbYLUQiRa9XO5s/ksIj5Z14f7anHE6cuTQVpvNWdGDOigyIVS5qU+4ZF7j+rifzOXVL48gmcAvw/uV68m5Wl/p0qsC/d8vI3GYwEsWG/EzpAlc07l8BU2LxWgN+d7uwBFaJV9VtmUDs5dcslsh8IbzmtC9gq3OLGjklxTfIl6qPiL8U33oc/UwqzvZUrI2BlbagvIZYy6rP+q0= kierank@mockingjay"
177
190
];
···
195
208
22
196
209
80
197
210
443
211
211
+
28868 # Minecraft server
212
212
+
];
213
213
+
allowedUDPPorts = [
214
214
+
28869 # Minecraft voice chat
198
215
];
199
216
logRefusedConnections = false;
200
217
rejectPackets = true;
+1
machines/terebithia/home-manager.nix
···
11
11
};
12
12
users = {
13
13
kierank = import ./home;
14
14
+
duncan = import ./home/duncan.nix;
14
15
};
15
16
};
16
17
}
+23
machines/terebithia/home/duncan.nix
···
1
1
+
{ inputs, ... }:
2
2
+
{
3
3
+
imports = [
4
4
+
(inputs.import-tree ../../../modules/home)
5
5
+
];
6
6
+
7
7
+
home = {
8
8
+
username = "duncan";
9
9
+
homeDirectory = "/home/duncan";
10
10
+
};
11
11
+
12
12
+
atelier = {
13
13
+
shell = {
14
14
+
enable = true;
15
15
+
};
16
16
+
};
17
17
+
18
18
+
programs.home-manager.enable = true;
19
19
+
20
20
+
systemd.user.startServices = "sd-switch";
21
21
+
22
22
+
home.stateVersion = "23.05";
23
23
+
}