add and enable anubis
This commit is contained in:
parent
a66d9cddeb
commit
aaeea3487b
1 changed files with 16 additions and 0 deletions
|
|
@ -29,6 +29,22 @@
|
||||||
# Import disko
|
# Import disko
|
||||||
# ../../../disko/queen
|
# ../../../disko/queen
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.anubis.instances.default.settings.TARGET = "http://localhost:8123";
|
||||||
|
|
||||||
|
# required due to unix socket permissions
|
||||||
|
users.users.nginx.extraGroups = [config.users.groups.anubis.name];
|
||||||
|
services.nginx.virtualHosts."gladtherescake.eu" = {
|
||||||
|
locations = {
|
||||||
|
"/".proxyPass = "http://unix:${config.services.anubis.instances.default.settings.BIND}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.nginx.virtualHosts."lillianviolet.dev" = {
|
||||||
|
locations = {
|
||||||
|
"/".proxyPass = "http://unix:${config.services.anubis.instances.default.settings.BIND}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
zramSwap.enable = false;
|
zramSwap.enable = false;
|
||||||
services = {
|
services = {
|
||||||
openssh = {
|
openssh = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue