ADD: terre-neuvas server

This commit is contained in:
L0m1g 2025-09-05 09:59:31 +02:00
parent e0a82ee731
commit 4f411004e6
12 changed files with 247 additions and 25 deletions

19
modules/roles/server.nix Normal file
View file

@ -0,0 +1,19 @@
{pkgs, ...}: {
imports = [
../common/nix.nix
];
environment.systemPackages = with pkgs; [
git
wget
curl
ripgrep
fd
pciutils
usbutils
p7zip
gdu
glances
tmux
];
}

View file

@ -0,0 +1,13 @@
_: {
services.caddy = {
enable = true;
virtualHosts."blog.lomig.me" = {
extraConfig = ''
root * /var/www/lomig
file_server
'';
};
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}