forked from colonelpanic/dotfiles
[NixOS] InvokeAI service
This commit is contained in:
parent
611e79c6bd
commit
0acefd8325
@ -3,13 +3,20 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../full.nix
|
../full.nix
|
||||||
|
inputs.nixified-ai.nixosModules.invokeai
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.invokeai = {
|
||||||
|
enable = true;
|
||||||
|
host = "0.0.0.0";
|
||||||
|
nsfwChecker = false;
|
||||||
|
package = inputs.nixified-ai.packages.${config.nixpkgs.system}.invokeai-nvidia;
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "ryzen-shine";
|
networking.hostName = "ryzen-shine";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
linuxPackages_latest.perf
|
linuxPackages_latest.perf
|
||||||
inputs.nixified-ai.packages.${system}.invokeai-nvidia
|
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user