minor updates

This commit is contained in:
Vivian 2023-11-16 20:30:24 +01:00
parent 187bc9261e
commit 3dd904425b
4 changed files with 5 additions and 6 deletions

View file

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

View file

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

View file

@ -41,10 +41,6 @@ in
package = pkgs.nginxMainline; package = pkgs.nginxMainline;
virtualHosts = { 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"; "ha.xirion.net" = proxy "http://192.168.0.129:8123";
"xirion.net" = { "xirion.net" = {
enableACME = true; enableACME = true;

View file

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