1
1
Fork 0

Compare commits

..

No commits in common. "dd117c5f6e278c3b8e6e11cf27c648ad8b0d82f9" and "18a5d069036b509f0989c8fd819e572e4effa683" have entirely different histories.

3 changed files with 15 additions and 8 deletions

View File

@ -9,7 +9,7 @@
./git.ewanick.com.nix ./git.ewanick.com.nix
./paperless.ewanick.com.nix ./paperless.ewanick.com.nix
./fancytypist.com.nix # ./fancytypist.com.nix
./hydra.fancyTypist.com.nix ./hydra.fancyTypist.com.nix
]; ];

View File

@ -65,4 +65,14 @@ in
''; '';
}; };
}; };
services.emanote = {
enable = true;
# host = "127.0.0.1"; # default listen address is 127.0.0.1
# port = 7000; # default http port is 7000
notes = [
"/workspace/admin"
];
package = emanote.packages.${system}.default;
};
} }

View File

@ -1,14 +1,11 @@
{ pkgs, ... }: { pkgs, ... }:
let let baseUrl = "paperless.ewanick.com";
baseUrl = "paperless.ewanick.com";
HOST = "localhost";
PORT = 28981;
in in
{ {
services.paperless = { services.paperless = {
enable = true; enable = true;
address = HOST; address = "localhost";
port = PORT; port = 28981;
passwordFile = "/run/keys/paperless-password"; passwordFile = "/run/keys/paperless-password";
}; };
systemd.services.paperless-scheduler.after = [ "var-lib-paperless.mount" ]; systemd.services.paperless-scheduler.after = [ "var-lib-paperless.mount" ];
@ -20,7 +17,7 @@ in
virtualHosts = { virtualHosts = {
"${baseUrl}" = { "${baseUrl}" = {
extraConfig = '' extraConfig = ''
reverse_proxy ${HOST}:${toString PORT} reverse_proxy localhost:28981
''; '';
}; };
}; };