Merge branch 'master' of github.com:/kropatz/dotfiles
This commit is contained in:
@@ -67,6 +67,8 @@
|
||||
./modules/paperless.nix
|
||||
./modules/kavita.nix
|
||||
./modules/netdata.nix
|
||||
### Hardware ###
|
||||
./modules/hardware/ssd.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
agenix.nixosModules.default
|
||||
{
|
||||
|
||||
3
modules/hardware/ssd.nix
Normal file
3
modules/hardware/ssd.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
services.fstrim.enable = true;
|
||||
}
|
||||
@@ -52,9 +52,28 @@
|
||||
'';
|
||||
proxyPass = "http://127.0.0.1:8080";
|
||||
};
|
||||
|
||||
#locations."~/books(.*)$" = {
|
||||
# proxyPass = "http://127.0.0.1:5000";
|
||||
#};
|
||||
};
|
||||
#discord bot for tracking useractivity public version
|
||||
"activitytracker.site" = {
|
||||
#serverAliases = [
|
||||
# "localhost"
|
||||
#];
|
||||
root = "/data/website";
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/tracker-site-public" = {
|
||||
tryFiles = "$uri $uri/ /tracker-site-public/index.html =404";
|
||||
};
|
||||
locations."/api" = {
|
||||
extraConfig =''
|
||||
rewrite /api/(.*) /$1 break;
|
||||
'';
|
||||
proxyPass = "http://127.0.0.1:8081";
|
||||
};
|
||||
};
|
||||
"adguard.local" = {
|
||||
locations."/".proxyPass = "http://127.0.0.1:3000";
|
||||
|
||||
Reference in New Issue
Block a user