diff options
| author | Mel <einebeere@gmail.com> | 2024-12-29 20:43:24 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-12-29 20:50:33 +0100 |
| commit | af0adff6b1c3985d3047a05ce455429f021b035b (patch) | |
| tree | 108df02cd62bc65536961f48e2953a1dd7e10843 /configuration/specimen.nix | |
| parent | 33303623ece4953b9fe8b2c2a0b059111ce56a4c (diff) | |
| download | specimen-af0adff6b1c3985d3047a05ce455429f021b035b.tar.zst specimen-af0adff6b1c3985d3047a05ce455429f021b035b.zip | |
Enable specimen module on server
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'configuration/specimen.nix')
| -rw-r--r-- | configuration/specimen.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configuration/specimen.nix b/configuration/specimen.nix new file mode 100644 index 0000000..41a5008 --- /dev/null +++ b/configuration/specimen.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: + +let + name = "max mustermann"; + name-file = pkgs.writeText "specimen-name" name; +in +{ + services.specimen = { + enable = true; + + listenAddress = "0.0.0.0"; + port = 4444; + openFirewall = true; + + namePath = name-file; + }; +} |
