fix(nix): add readeck config
This commit is contained in:
parent
d0dc106ccb
commit
c543f3bce3
4 changed files with 28 additions and 0 deletions
|
@ -74,6 +74,22 @@
|
|||
|
||||
services.stirling-pdf.enable = true;
|
||||
|
||||
services.readeck = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
log_level = "info";
|
||||
secret_key = builtins.readFile config.age.secrets.readeck-secret-key.path;
|
||||
data_directory = "data";
|
||||
};
|
||||
server = {
|
||||
host = "127.0.0.1";
|
||||
port = 8060;
|
||||
trusted_proxies = [ "127.0.0.1" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
home-manager.users.priime = { pkgs, ... }: { imports = [ ./home.nix ]; };
|
||||
}
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
{
|
||||
age.secrets = {
|
||||
forgejo-runner-token.file = ../../secrets/forgejo-runner-token.age;
|
||||
readeck-secret-key.file = ../../secrets/readeck-secret-key.age;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue