install photoprism from unstable
This commit is contained in:
parent
4d7fc25aaf
commit
2fac85824a
@ -2,7 +2,6 @@
|
||||
inputs = {
|
||||
nixpkgs.url = "flake:nixpkgs/nixos-22.11";
|
||||
nixpkgs-unstable.url = "flake:nixpkgs/nixos-unstable";
|
||||
nixpkgs-photoprism.url = "github:Stunkymonkey/nixpkgs/photoprism-module-init";
|
||||
utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.3.1";
|
||||
simple-nixos-mailserver = {
|
||||
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-22.11";
|
||||
@ -21,7 +20,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, utils, nixpkgs, nixpkgs-unstable, nixpkgs-photoprism, simple-nixos-mailserver, dogetipbot-telegram, ipmihddtemp }: utils.lib.mkFlake {
|
||||
outputs = inputs@{ self, utils, nixpkgs, nixpkgs-unstable, simple-nixos-mailserver, dogetipbot-telegram, ipmihddtemp }: utils.lib.mkFlake {
|
||||
|
||||
inherit self inputs;
|
||||
|
||||
@ -47,7 +46,7 @@
|
||||
];
|
||||
|
||||
hosts.loutreos.modules = [
|
||||
"${nixpkgs-photoprism}/nixos/modules/services/web-apps/photoprism.nix"
|
||||
"${nixpkgs-unstable}/nixos/modules/services/web-apps/photoprism.nix"
|
||||
simple-nixos-mailserver.nixosModule
|
||||
dogetipbot-telegram.nixosModule
|
||||
ipmihddtemp.nixosModule
|
||||
|
@ -549,7 +549,7 @@ in
|
||||
photoprism = {
|
||||
enable = true;
|
||||
originalsPath = "/mnt/backup_loutre/amandoleen/d/Users/Amand/Pictures";
|
||||
extraConfig = {
|
||||
settings = {
|
||||
PHOTOPRISM_AUTH_MODE = "public";
|
||||
PHOTOPRISM_READONLY = "1";
|
||||
PHOTOPRISM_SITE_URL = "https://photo.nyanlout.re/";
|
||||
|
Loading…
Reference in New Issue
Block a user