This commit is contained in:
Denis Manherz 2023-11-27 14:09:50 +01:00
parent 7518e0e333
commit 0b912feb3b

View file

@ -18,7 +18,7 @@ in
{ old = "dataDir"; new = "root"; } { old = "dataDir"; new = "root"; }
{ old = "precision"; } { old = "precision"; }
]; ];
options.services.invokeai = { options.services.a1111 = {
enable = mkEnableOption "Automatic1111 UI for Stable Diffusion"; enable = mkEnableOption "Automatic1111 UI for Stable Diffusion";
package = mkOption { package = mkOption {
@ -93,7 +93,7 @@ in
in mkIf cfg.enable { in mkIf cfg.enable {
users.users = mkIf (cfg.user == "a1111") { users.users = mkIf (cfg.user == "a1111") {
invokeai = { a1111 = {
isSystemUser = true; isSystemUser = true;
inherit (cfg) group; inherit (cfg) group;
}; };