feat!(thrall): Update to nixos-unstable
This commit is contained in:
parent
27749dcf2e
commit
ab1ea042b9
4 changed files with 132 additions and 202 deletions
|
|
@ -1,14 +1,10 @@
|
|||
{ lib, config, pkgs, inputs, ... }: {
|
||||
imports = [
|
||||
({ inputs, lib, ... }: {
|
||||
nixpkgs = { config.allowUnfree = true; };
|
||||
nix.registry =
|
||||
lib.mkForce (lib.mapAttrs (_: value: { flake = value; }) inputs);
|
||||
})
|
||||
({ ... }: { nixpkgs = { config.allowUnfree = true; }; })
|
||||
../../modules/security.nix
|
||||
../../modules/common-system.nix
|
||||
./configuration.nix
|
||||
inputs.home-manager-unstable.nixosModules.home-manager
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
../../home/anne/default.nix
|
||||
../../home/alex/default.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -225,16 +225,15 @@ in {
|
|||
};
|
||||
|
||||
# paperless
|
||||
"${authorityFromUrl config.services.paperless.extraConfig.PAPERLESS_URL}" =
|
||||
{
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass =
|
||||
"http://127.0.0.1:${toString config.services.paperless.port}/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
"${authorityFromUrl config.services.paperless.settings.PAPERLESS_URL}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass =
|
||||
"http://127.0.0.1:${toString config.services.paperless.port}/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
# hledger
|
||||
"${authorityFromUrl config.services.hledger-web.baseUrl}" = {
|
||||
|
|
@ -280,7 +279,7 @@ in {
|
|||
address = "127.0.0.1";
|
||||
port = 3002;
|
||||
consumptionDirIsPublic = true;
|
||||
extraConfig = {
|
||||
settings = {
|
||||
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||
PAPERLESS_URL = "https://docs.failco.de";
|
||||
PAPERLESS_CONSUMER_RECURSIVE = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue