nixos-configuration/vinzenz-lpt2.nix
Vinzenz Schroeter d17023aa89 fix ports
2024-03-03 12:45:55 +01:00

61 lines
1.5 KiB
Nix

{pkgs, ...}: {
imports = [
(import ./modules {
hostName = "vinzenz-lpt2";
enableHomeManager = true;
})
];
config = {
my = {
enabledUsers = ["vinzenz" "ronja"];
tailscale.enable = true;
desktop = {
enableGnome = true;
enableGaming = true;
enablePrinting = true;
};
buildtools = {
dotnet = true;
#objective-c = true;
};
allowUnfreePackages = [
"rider"
"clion"
"pycharm-professional"
];
};
environment.systemPackages = with pkgs; [anydesk];
virtualisation.podman = {
enable = true;
};
users.users.vinzenz.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH''
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv vinzenz-pc2 home roaming''
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ronja-ssh-host-key''
];
users.users.ronja.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ssh-host-key''
];
services.openvscode-server = {
enable = true;
telemetryLevel = "off";
port = 8542;
host = "100.103.93.126"; # tailscale
withoutConnectionToken = true;
extraPackages = with pkgs; [nodejs];
};
networking.firewall = {
checkReversePath = "loose";
allowedTCPPorts = [8542 8543 8544];
};
};
}