nixos-configuration/vinzenz-pc2.nix

58 lines
1.5 KiB
Nix
Raw Normal View History

2024-03-09 13:36:43 +01:00
{pkgs, ...}: {
imports = [
(import ./modules {
hostName = "vinzenz-pc2";
enableHomeManager = true;
})
];
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
2024-06-21 17:11:13 +02:00
users.users.ronja.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ssh-host-key''
];
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;
2024-06-21 17:12:04 +02:00
extraPackages = with pkgs; [nodejs gitFull gh direnv];
2024-03-09 13:36:43 +01:00
};
2024-06-21 17:12:04 +02:00
virtualisation.podman = {
enable = true;
};
networking = {
firewall = {
allowedTCPPorts = [8542 8543 8544 80];
};
interfaces.eno1.wakeOnLan.enable = true;
2024-03-09 13:36:43 +01:00
};
2023-09-09 14:57:55 +02:00
};
2023-08-27 13:28:13 +02:00
}