split up files more

This commit is contained in:
Vinzenz Schroeter 2024-10-26 18:15:50 +02:00
parent 8ca1862742
commit 164795dfd2
11 changed files with 172 additions and 186 deletions

View file

@ -11,12 +11,14 @@ nixpkgs.lib.nixosSystem {
++ desktop-modules
++ [
./hardware.nix
./vscode-server.nix
../../home/gnome.nix
../../users/vinzenz.nix
../../users/ronja.nix
../../modules/gnome.nix
../../modules/gaming.nix
../../modules/printing.nix
../../modules/podman.nix
{
networking.hostName = "vinzenz-pc2";
}
@ -36,25 +38,5 @@ nixpkgs.lib.nixosSystem {
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ssh-host-key''
];
}
{
services.openvscode-server = {
enable = true;
telemetryLevel = "off";
port = 8542;
host = "100.125.93.127"; # tailscale
withoutConnectionToken = true;
extraPackages = with pkgs; [nodejs git gh direnv];
};
virtualisation.podman = {
enable = true;
};
networking = {
firewall = {
allowedTCPPorts = [8542 8543 8544 80];
};
};
}
];
}

View file

@ -0,0 +1,16 @@
{pkgs, ...}: {
services.openvscode-server = {
enable = true;
telemetryLevel = "off";
port = 8542;
host = "100.125.93.127"; # tailscale
withoutConnectionToken = true;
extraPackages = with pkgs; [nodejs git gh direnv];
};
networking = {
firewall = {
allowedTCPPorts = [8542 8543 8544 80];
};
};
}