nixos-configuration/vinzenz-lpt2.nix

61 lines
1.5 KiB
Nix
Raw Normal View History

2024-02-09 18:52:20 +01:00
{pkgs, ...}: {
2024-02-05 21:46:55 +01:00
imports = [
(import ./modules {
hostName = "vinzenz-lpt2";
enableHomeManager = true;
})
];
config = {
my = {
2024-02-09 18:52:20 +01:00
enabledUsers = ["vinzenz" "ronja"];
2024-02-05 21:46:55 +01:00
tailscale.enable = true;
desktop = {
enableGnome = true;
enableGaming = true;
enablePrinting = true;
};
buildtools = {
dotnet = true;
2024-02-23 22:31:46 +01:00
#objective-c = true;
2024-02-05 21:46:55 +01:00
};
2024-02-23 22:31:46 +01:00
allowUnfreePackages = [
"rider"
"clion"
"pycharm-professional"
];
2024-02-05 21:46:55 +01:00
};
2024-02-09 18:52:20 +01:00
environment.systemPackages = with pkgs; [anydesk];
virtualisation.podman = {
enable = true;
};
2024-02-05 21:46:55 +01:00
users.users.vinzenz.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH''
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv vinzenz-pc2 home roaming''
2024-02-09 18:52:20 +01:00
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ronja-ssh-host-key''
];
users.users.ronja.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ssh-host-key''
2024-02-05 21:46:55 +01:00
];
2024-02-23 22:31:46 +01:00
services.openvscode-server = {
enable = true;
telemetryLevel = "off";
port = 8542;
2024-03-02 13:05:41 +01:00
host = "100.103.93.126"; # tailscale
2024-03-02 13:26:32 +01:00
withoutConnectionToken = true;
2024-02-23 22:31:46 +01:00
extraPackages = with pkgs; [nodejs];
};
2024-03-02 13:05:41 +01:00
networking.firewall = {
checkReversePath = "loose";
allowedTCPPorts = [8542];
2024-02-23 22:31:46 +01:00
};
2024-02-05 21:46:55 +01:00
};
}