Setup webserver service

This commit is contained in:
♥ Minnie ♥ 2024-06-03 21:14:12 +08:00
parent 1265ae017d
commit ec13d1b5cf
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 17 additions and 0 deletions

View file

@ -6,6 +6,7 @@
./minecraft
./borgbackup.nix
./forgejo.nix
./httpd.nix
./mpd.nix
./samba.nix
];

View file

@ -0,0 +1,16 @@
{ ... }:
{
services.httpd = {
enable = true;
virtualHosts."sajenim.dev" = {
documentRoot = "/srv/services/httpd/sajenim.dev";
listen = [{
ip = "192.168.1.102";
port = 5624;
}];
adminAddr = "its.jassy@pm.me";
};
};
}