mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-12 02:04:09 -05:00
remove routing for npm
This commit is contained in:
parent
5296241abb
commit
b6c45a7056
2 changed files with 14 additions and 23 deletions
|
|
@ -1,23 +0,0 @@
|
|||
let
|
||||
primary = "wanderingcrow.net";
|
||||
in
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
enableReload = true;
|
||||
|
||||
virtualHosts = {
|
||||
"vault.${primary}" = {
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://localhost:8200";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -14,10 +14,24 @@ in
|
|||
|
||||
"d ${volumePath}/paperless/data 700 overseer overseer"
|
||||
"d ${volumePath}/paperless/media 700 overseer overseer"
|
||||
|
||||
"d ${volumePath}/NPM/data 700 overseer overseer"
|
||||
"d ${volumePath}/NPM/letsencrypt 700 overseer overseer"
|
||||
];
|
||||
|
||||
# (Arguably) Most Important Service - backups
|
||||
services.restic.backups = {
|
||||
npm = {
|
||||
user = "root";
|
||||
timerConfig = {
|
||||
OnCalendar = "hourly";
|
||||
Persistent = true;
|
||||
};
|
||||
paths = [
|
||||
"${volumePath}/NPM/data"
|
||||
"${volumePath}/NPM/letsencrypt"
|
||||
];
|
||||
};
|
||||
vault = {
|
||||
user = "root";
|
||||
timerConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue