minor updates

This commit is contained in:
Vivian 2023-11-16 20:30:24 +01:00
parent 0eebdf6bd0
commit 26bfe82032
4 changed files with 5 additions and 6 deletions

View file

@ -9,7 +9,6 @@
direnv
git-crypt
nix-update
nodejs-14_x
pinentry-curses
ripgrep
rsync

View file

@ -22,6 +22,8 @@ in
# Additional packages
environment.systemPackages = with pkgs; [ ];
# TODO: https://github.com/suderman/nixos/tree/main/modules/nixos/immich
fileSystems."/mnt/storage" = {
@ -34,6 +36,8 @@ in
ids.uids.immich = 911;
ids.gids.immich = 911;
users.groups.photos = {};
users.users.immich = {
isSystemUser = true;
group = "photos";

View file

@ -41,10 +41,6 @@ in
package = pkgs.nginxMainline;
virtualHosts = {
"cshub.nl" = proxy "http://192.168.0.113";
"api.cshub.nl" = proxy "http://192.168.0.113";
"ha.xirion.net" = proxy "http://192.168.0.129:8123";
"xirion.net" = {
enableACME = true;

View file

@ -103,7 +103,7 @@ in
};
services.oauth2_proxy = {
enable = true;
enable = false;
provider = "oidc";
redirectURL = "https://o2p.0x76.dev/oauth2/callback";
cookie.secure = false;