2024-02-09 18:52:20 +01:00
|
|
|
{pkgs, ...}: {
|
2024-02-05 21:46:55 +01:00
|
|
|
imports = [
|
2024-10-26 00:04:27 +02:00
|
|
|
../../home
|
2024-10-26 12:32:15 +02:00
|
|
|
../../home/gnome.nix
|
2024-10-26 00:04:27 +02:00
|
|
|
../../users/vinzenz.nix
|
2024-10-26 12:32:15 +02:00
|
|
|
../../modules/desktop-environment.nix
|
|
|
|
../../modules/gnome.nix
|
|
|
|
../../modules/gaming.nix
|
|
|
|
../../modules/printing.nix
|
|
|
|
../../modules/latex.nix
|
2024-02-05 21:46:55 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
2024-10-26 12:32:15 +02:00
|
|
|
home-manager.users.vinzenz = import ../../home/vinzenz;
|
2024-02-05 21:46:55 +01:00
|
|
|
|
2024-06-21 17:17:13 +02:00
|
|
|
virtualisation = {
|
|
|
|
containers.enable = true;
|
|
|
|
podman = {
|
2024-07-21 14:07:59 +02:00
|
|
|
enable = true;
|
2024-06-21 17:17:13 +02:00
|
|
|
dockerCompat = true;
|
|
|
|
dockerSocket.enable = true;
|
|
|
|
autoPrune.enable = true;
|
|
|
|
};
|
2024-02-09 18:52:20 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
];
|
2024-10-26 00:04:27 +02:00
|
|
|
#
|
|
|
|
#users.users.ronja.openssh.authorizedKeys.keys = [
|
|
|
|
# ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ronja-ssh-host-key''
|
|
|
|
#];
|
|
|
|
#
|
2024-06-21 17:18:13 +02:00
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedOptimisation = true;
|
|
|
|
|
|
|
|
virtualHosts = {
|
|
|
|
"vinzenz-lpt2" = {
|
|
|
|
locations."/" = {
|
|
|
|
proxyPass = "http://127.0.0.1:3000/";
|
|
|
|
proxyWebsockets = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
serverAliases = ["172.23.42.96"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall = {
|
|
|
|
allowedTCPPorts = [80 8001 3000];
|
|
|
|
allowedUDPPorts = [2342];
|
|
|
|
};
|
2024-02-05 21:46:55 +01:00
|
|
|
};
|
|
|
|
}
|