6 Commits

Author SHA1 Message Date
f5c48b41fa immich proxy 2025-01-08 18:59:30 +00:00
ca6c275cd8 pin actual-budget to specific version 2025-01-07 19:29:05 +00:00
54a897abb6 add back epic games to lookingglass 2025-01-06 15:45:25 -05:00
45eb33485d temp: disable teams 2025-01-06 11:03:48 -05:00
cbdf17f618 change name of macbook to match required name 2025-01-06 09:57:16 -05:00
fdf231b46e add spacer program for shell output 2025-01-06 09:57:16 -05:00
7 changed files with 35 additions and 7 deletions

View File

@ -26,8 +26,8 @@ inputs.darwin.lib.darwinSystem {
inputs.mac-app-util.darwinModules.default
{
nixpkgs.overlays = [ inputs.firefox-darwin.overlay ] ++ overlays;
networking.hostName = "lookingglass";
networking.computerName = "NYCM-NMASUR1";
networking.hostName = "NYCM-NMASUR2";
networking.computerName = "NYCM-NMASUR2";
identityFile = "/Users/Noah.Masur/.ssh/id_ed25519";
gui.enable = true;
theme = {

View File

@ -38,6 +38,7 @@ in
# rep # Replace text in files
ripgrep # grep
sd # sed
spacer # Output lines in terminal
tealdeer # Cheatsheets
tree # View directory hierarchy
vimv-rs # Batch rename files

View File

@ -46,7 +46,7 @@
"scroll-reverser" # Different scroll style for mouse vs. trackpad
"notunes" # Don't launch Apple Music with the play button
"steam" # Not packaged for Nixon macOS
# "epic-games" # Not packaged for Nix
"epic-games" # Not packaged for Nix
];
};
};

View File

@ -10,7 +10,7 @@
unfreePackages = [
"consul"
"vault-bin"
"teams"
# "teams"
];
home-manager.users.${config.user} = lib.mkIf pkgs.stdenv.isDarwin {
@ -32,7 +32,7 @@
pkgs.consul
pkgs.noti # Create notifications programmatically
pkgs.ipcalc # Make IP network calculations
pkgs.teams
# pkgs.teams
pkgs.cloudflared # Allow connecting to Cloudflare tunnels
(pkgs.writeShellApplication {
name = "ocr";

View File

@ -39,10 +39,13 @@
labels = {
app = "actualbudget";
};
image = "ghcr.io/actualbudget/actual-server:latest";
image = "ghcr.io/actualbudget/actual-server:25.1.0";
hostname = null;
environmentFiles = [ ];
environment = { };
environment = {
DEBUG = "actual:config"; # Enable debug logging
ACTUAL_TRUSTED_PROXIES = builtins.concatStringsSep "," [ "127.0.0.1" ];
};
dependsOn = [ ];
autoStart = true;
};

View File

@ -16,6 +16,7 @@
./cloudflare.nix
./filebrowser.nix
./identity.nix
./immich-proxy.nix
./immich.nix
./irc.nix
./gitea-runner.nix

View 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"; } ];
}
];
}
];
};
}