Kieran's opinionated (and probably slightly dumb) nix config

feat: add duncan to terebithia

dunkirk.sh 0ab84a22 0cb19406

verified
+41
+17
machines/terebithia/default.nix
··· 81 81 gotools 82 82 go-tools 83 83 gcc 84 + jre 84 85 # misc 85 86 neofetch 86 87 git ··· 172 173 "services" 173 174 ]; 174 175 }; 176 + duncan = { 177 + initialPassword = "changeme"; 178 + isNormalUser = true; 179 + shell = pkgs.zsh; 180 + openssh.authorizedKeys.keys = [ 181 + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPe38rGtuixnMpGoCwtzXJ2qkPKt16icS7KI+XO0meAE duncanhalderman@Duncans-MacBook-Air.local" 182 + ]; 183 + extraGroups = [ 184 + "wheel" 185 + "networkmanager" 186 + ]; 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 + 28868 # Minecraft server 212 + ]; 213 + allowedUDPPorts = [ 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 + duncan = import ./home/duncan.nix; 14 15 }; 15 16 }; 16 17 }
+23
machines/terebithia/home/duncan.nix
··· 1 + { inputs, ... }: 2 + { 3 + imports = [ 4 + (inputs.import-tree ../../../modules/home) 5 + ]; 6 + 7 + home = { 8 + username = "duncan"; 9 + homeDirectory = "/home/duncan"; 10 + }; 11 + 12 + atelier = { 13 + shell = { 14 + enable = true; 15 + }; 16 + }; 17 + 18 + programs.home-manager.enable = true; 19 + 20 + systemd.user.startServices = "sd-switch"; 21 + 22 + home.stateVersion = "23.05"; 23 + }