mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds anubis
This commit is contained in:
parent
d70b62cd64
commit
a82653ca9d
1 changed files with 12 additions and 0 deletions
12
modules/services/anubis.nix
Normal file
12
modules/services/anubis.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
users.users.nginx.extraGroups = [ config.users.groups.anubis.name ];
|
||||
services.anubis = {
|
||||
defaultOptions = {
|
||||
enable = true;
|
||||
settings = {
|
||||
SERVE_ROBOTS_TXT = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue