diff options
| Commit | e03834eff4b022b8920a8d67e554ecd9045f4938 (patch) | |
|---|---|---|
| Author | 2025-07-02 14:22:16 +0300 | |
| Committer | 2025-07-02 14:22:16 +0300 | |
| Files | 83d198a43cd8aacd7d11a5a19f851a8ea1c90417 | |
| nix-e03834eff4b022b8920a8d67e554ecd9045f4938.tar nix-e03834eff4b022b8920a8d67e554ecd9045f4938.tar.gz nix-e03834eff4b022b8920a8d67e554ecd9045f4938.zip | ||
| Parent | c8b42534d8e4e0f136afb3a3639e2b47644e748e (diff) | |
feat(machines/marduk): Make machine a home-server and add ftp.int vhost
2 files changed, 10 insertions, 1 deletions
| -rw-r--r-- | machines/marduk/configuration.nix | 9 | ||||
| -rw-r--r-- | machines/marduk/sysidentity.nix | 2 |
diff --git a/machines/marduk/configuration.nix b/machines/marduk/configuration.nix index 3c3bff2..c730e0e 100644 --- a/machines/marduk/configuration.nix +++ b/machines/marduk/configuration.nix @@ -2,4 +2,13 @@ services.dnsmasq.settings.address = [ "/.int/192.168.0.10" ]; + + services.httpd = { + virtualHosts = { + "ftp.int" = { + listen = [ { port = 80; } ]; + documentRoot = "/home/ftp"; + }; + }; + }; } diff --git a/machines/marduk/sysidentity.nix b/machines/marduk/sysidentity.nix index 968cbeb..59ef8f0 100644 --- a/machines/marduk/sysidentity.nix +++ b/machines/marduk/sysidentity.nix @@ -3,5 +3,5 @@ groups: { arch = "x86_64-linux"; kind = "server"; - include = groups.minimal; + include = groups.home-server; } |
