Compare commits
No commits in common. "9f29c59e0b39e0dc22a9cf37e00b8c52c9bccf2f" and "aba854931ac8bf3271f3c7cc0b311c865b0f0920" have entirely different histories.
9f29c59e0b
...
aba854931a
21
flake.lock
21
flake.lock
@ -302,26 +302,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nurausstieg": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1722174167,
|
||||
"narHash": "sha256-u9ef1BNaXHEnuQEFgqqBLEVZqd5T/sqRBysN71gFOKg=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "7f2e0febf3a430e4ba4f6cf1cf1c5ca10c5dd04d",
|
||||
"revCount": 20,
|
||||
"type": "git",
|
||||
"url": "https://git.clerie.de/clerie/nurausstieg.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.clerie.de/clerie/nurausstieg.git"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"berlinerbaeder-exporter": "berlinerbaeder-exporter",
|
||||
@ -333,7 +313,6 @@
|
||||
"nixos-exporter": "nixos-exporter",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"nurausstieg": "nurausstieg",
|
||||
"solid-xmpp-alarm": "solid-xmpp-alarm",
|
||||
"sops-nix": "sops-nix",
|
||||
"ssh-to-age": "ssh-to-age"
|
||||
|
@ -27,10 +27,6 @@
|
||||
url = "git+https://git.clerie.de/clerie/nixos-exporter.git";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nurausstieg = {
|
||||
url = "git+https://git.clerie.de/clerie/nurausstieg.git";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
solid-xmpp-alarm = {
|
||||
url = "git+https://git.clerie.de/clerie/solid-xmpp-alarm.git";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -3,7 +3,6 @@
|
||||
, bij
|
||||
, chaosevents
|
||||
, harmonia
|
||||
, nurausstieg
|
||||
, ssh-to-age
|
||||
, ...
|
||||
}@inputs:
|
||||
@ -17,8 +16,6 @@ final: prev: {
|
||||
harmonia = harmonia.packages.${final.system}.harmonia.override {
|
||||
nixForHarmonia = final.nixVersions.nix_2_21;
|
||||
};
|
||||
inherit (nurausstieg.packages.${final.system})
|
||||
nurausstieg;
|
||||
inherit (ssh-to-age.packages.${final.system})
|
||||
ssh-to-age;
|
||||
}
|
||||
|
@ -20,7 +20,6 @@
|
||||
./mitel-ommclient2.nix
|
||||
./nix-install.nix
|
||||
./nogo2024.nix
|
||||
./nurausstieg.nix
|
||||
./ping.nix
|
||||
./public.nix
|
||||
./radicale.nix
|
||||
|
@ -1,41 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/cache/nginx/nurausstieg - nginx nginx - -"
|
||||
];
|
||||
|
||||
services.nginx = {
|
||||
commonHttpConfig = ''
|
||||
proxy_cache_path /var/cache/nginx/nurausstieg levels=1:2 use_temp_path=off keys_zone=nurausstieg:1m max_size=10m;
|
||||
'';
|
||||
|
||||
virtualHosts."nurausstieg.clerie.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::1]:44384";
|
||||
extraConfig = ''
|
||||
proxy_cache nurausstieg;
|
||||
# Ignore upstream cache hints
|
||||
proxy_ignore_headers Cache-Control;
|
||||
# Force cache 200 and 500 responses for one minute
|
||||
proxy_cache_valid 200 500 1m;
|
||||
# Only do a single fetch for missing entries and let other sessions wait
|
||||
proxy_cache_lock on;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.nurausstieg = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
};
|
||||
path = with pkgs; [ nurausstieg ];
|
||||
script = "nurausstieg --listen [::1]:44384";
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user