feat: Add comfy-ui with basic auth
This commit is contained in:
parent
5aa1d4192f
commit
9328ca3717
5 changed files with 109 additions and 8 deletions
11
flake.nix
11
flake.nix
|
|
@ -5,9 +5,10 @@
|
|||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
strix-halo.url = "github:hellas-ai/nix-strix-halo";
|
||||
strix-halo.inputs.llama-cpp.url = "github:ggerganov/llama.cpp/b7984";
|
||||
comfyui-nix.url = "github:utensils/comfyui-nix";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, strix-halo, ... }:
|
||||
outputs = { self, nixpkgs, strix-halo, comfyui-nix, ... }:
|
||||
let
|
||||
mkHost = { hostDir, extraModules ? [], overlays ? [], extraSpecialArgs ? {} }:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
|
|
@ -22,8 +23,12 @@
|
|||
in {
|
||||
nixosConfigurations.crossbox = mkHost {
|
||||
hostDir = ./hosts/crossbox;
|
||||
overlays = [ strix-halo.overlays.default ];
|
||||
extraModules = [ ./sdr.nix ./syncthing.nix ];
|
||||
overlays = [ strix-halo.overlays.default comfyui-nix.overlays.default ];
|
||||
extraModules = [
|
||||
./sdr.nix
|
||||
./syncthing.nix
|
||||
comfyui-nix.nixosModules.default
|
||||
];
|
||||
extraSpecialArgs = {
|
||||
strix-halo-pkgs = strix-halo.packages.x86_64-linux;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue