mirror of
https://github.com/denismhz/flake.git
synced 2025-11-09 16:16:23 +01:00
Update
This commit is contained in:
parent
7518e0e333
commit
0b912feb3b
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue