mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-29 20:00:13 +00:00
Compare commits
3 Commits
45eb33485d
...
immich-pro
Author | SHA1 | Date | |
---|---|---|---|
f5c48b41fa | |||
ca6c275cd8 | |||
54a897abb6 |
@ -46,7 +46,7 @@
|
|||||||
"scroll-reverser" # Different scroll style for mouse vs. trackpad
|
"scroll-reverser" # Different scroll style for mouse vs. trackpad
|
||||||
"notunes" # Don't launch Apple Music with the play button
|
"notunes" # Don't launch Apple Music with the play button
|
||||||
"steam" # Not packaged for Nixon macOS
|
"steam" # Not packaged for Nixon macOS
|
||||||
# "epic-games" # Not packaged for Nix
|
"epic-games" # Not packaged for Nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -39,10 +39,13 @@
|
|||||||
labels = {
|
labels = {
|
||||||
app = "actualbudget";
|
app = "actualbudget";
|
||||||
};
|
};
|
||||||
image = "ghcr.io/actualbudget/actual-server:latest";
|
image = "ghcr.io/actualbudget/actual-server:25.1.0";
|
||||||
hostname = null;
|
hostname = null;
|
||||||
environmentFiles = [ ];
|
environmentFiles = [ ];
|
||||||
environment = { };
|
environment = {
|
||||||
|
DEBUG = "actual:config"; # Enable debug logging
|
||||||
|
ACTUAL_TRUSTED_PROXIES = builtins.concatStringsSep "," [ "127.0.0.1" ];
|
||||||
|
};
|
||||||
dependsOn = [ ];
|
dependsOn = [ ];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
./cloudflare.nix
|
./cloudflare.nix
|
||||||
./filebrowser.nix
|
./filebrowser.nix
|
||||||
./identity.nix
|
./identity.nix
|
||||||
|
./immich-proxy.nix
|
||||||
./immich.nix
|
./immich.nix
|
||||||
./irc.nix
|
./irc.nix
|
||||||
./gitea-runner.nix
|
./gitea-runner.nix
|
||||||
|
23
modules/nixos/services/immich-proxy.nix
Normal file
23
modules/nixos/services/immich-proxy.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
options = {
|
||||||
|
immich-proxy.enable = lib.mkEnableOption "Immich proxy";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.services.immich-proxy.enable {
|
||||||
|
caddy.routes = [
|
||||||
|
{
|
||||||
|
match = [ { host = [ config.hostnames.photosProxy ]; } ];
|
||||||
|
handle = [
|
||||||
|
{
|
||||||
|
handler = "reverse_proxy";
|
||||||
|
upstreams = [ { dial = "${config.hostnames.photosBackend}:443"; } ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user