2024-03-09 13:36:43 +01:00
|
|
|
{pkgs, ...}: {
|
2023-09-09 15:21:27 +02:00
|
|
|
imports = [
|
2023-09-24 10:15:53 +02:00
|
|
|
(import ./modules {
|
|
|
|
hostName = "vinzenz-pc2";
|
2023-09-24 10:46:15 +02:00
|
|
|
enableHomeManager = true;
|
2023-09-24 10:15:53 +02:00
|
|
|
})
|
2023-09-09 15:21:27 +02:00
|
|
|
];
|
2023-09-02 14:41:58 +02:00
|
|
|
|
2023-09-09 14:57:55 +02:00
|
|
|
config = {
|
2023-09-24 12:39:28 +02:00
|
|
|
my = {
|
|
|
|
enabledUsers = ["vinzenz" "ronja"];
|
2023-12-04 22:45:50 +01:00
|
|
|
tailscale.enable = true;
|
2023-09-24 12:39:28 +02:00
|
|
|
desktop = {
|
2023-11-24 16:12:21 +01:00
|
|
|
enableGnome = true;
|
2023-09-24 12:39:28 +02:00
|
|
|
enableGaming = true;
|
2023-10-22 14:14:39 +02:00
|
|
|
enablePrinting = true;
|
2023-09-24 12:39:28 +02:00
|
|
|
};
|
2023-12-16 11:28:44 +01:00
|
|
|
buildtools = {
|
|
|
|
native = true;
|
|
|
|
dotnet = true;
|
|
|
|
rust = true;
|
2023-12-25 12:06:50 +01:00
|
|
|
jetbrains-remote-server = true;
|
2023-12-16 11:28:44 +01:00
|
|
|
};
|
2023-09-03 16:44:26 +02:00
|
|
|
};
|
|
|
|
|
2023-09-09 14:57:55 +02:00
|
|
|
users.users.vinzenz.openssh.authorizedKeys.keys = [
|
2023-12-25 12:30:11 +01:00
|
|
|
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINrY6tcgnoC/xbgL7vxSjddEY9MBxRXe9n2cAHt88/TT home roaming''
|
2023-12-05 14:50:19 +01:00
|
|
|
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH''
|
2024-03-01 17:39:37 +01:00
|
|
|
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNpLDmctyqGpow/ElQvdhY4BLBPS/sigDJ1QEcC7wC vinzenz-lpt2-roaming''
|
2023-09-09 14:57:55 +02:00
|
|
|
];
|
2024-03-09 13:36:43 +01:00
|
|
|
|
|
|
|
services.openvscode-server = {
|
|
|
|
enable = true;
|
|
|
|
telemetryLevel = "off";
|
|
|
|
port = 8542;
|
|
|
|
host = "100.125.93.127"; # tailscale
|
|
|
|
withoutConnectionToken = true;
|
|
|
|
extraPackages = with pkgs; [nodejs gitFull gh];
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall = {
|
|
|
|
allowedTCPPorts = [8542 8543 8544];
|
|
|
|
};
|
2023-09-09 14:57:55 +02:00
|
|
|
};
|
2023-08-27 13:28:13 +02:00
|
|
|
}
|