fmt
This commit is contained in:
@@ -30,7 +30,10 @@ let
|
||||
description = "AI Services";
|
||||
options = {
|
||||
llama-cpp = {
|
||||
model = mkOpt types.str "models--unsloth--gemma-4-26B-A4B-it-GGUF/snapshots/b8654b48d979f2853b7a81d6541ca64eea7dc3c5/gemma-4-26B-A4B-it-UD-Q8_K_XL" "";
|
||||
model =
|
||||
mkOpt types.str
|
||||
"models--unsloth--gemma-4-26B-A4B-it-GGUF/snapshots/b8654b48d979f2853b7a81d6541ca64eea7dc3c5/gemma-4-26B-A4B-it-UD-Q8_K_XL"
|
||||
"";
|
||||
};
|
||||
};
|
||||
moduleConfig = {
|
||||
|
||||
@@ -15,7 +15,7 @@ in
|
||||
image = "ghcr.io/pennydreadful/bookshelf:hardcover";
|
||||
internalPort = 8787;
|
||||
volumes = [
|
||||
"${cfg.configDir}/bookshelf:/config"
|
||||
"${cfg.configDir}/bookshelf:/config"
|
||||
"${cfg.configDir}/incomplete:/media/nas/main/appdata/incomplete"
|
||||
"${cfg.dataDir}/books:/media/nas/main/books"
|
||||
];
|
||||
|
||||
@@ -2,12 +2,24 @@
|
||||
_final: prev: {
|
||||
home-assistant = prev.home-assistant.override {
|
||||
packageOverrides = _self: super: {
|
||||
nice-go = super.nice-go.overridePythonAttrs (_old: { doCheck = false; });
|
||||
cfn-lint = super.cfn-lint.overridePythonAttrs (_old: { doCheck = false; });
|
||||
aiobotocore = super.aiobotocore.overridePythonAttrs (_old: { doCheck = false; });
|
||||
connect-box = super.connect-box.overridePythonAttrs (_old: { doCheck = false; });
|
||||
motionblindsble = super.motionblindsble.overridePythonAttrs (_old: { doCheck = false; });
|
||||
pyinsteon = super.pyinsteon.overridePythonAttrs (_old: { doCheck = false; });
|
||||
nice-go = super.nice-go.overridePythonAttrs (_old: {
|
||||
doCheck = false;
|
||||
});
|
||||
cfn-lint = super.cfn-lint.overridePythonAttrs (_old: {
|
||||
doCheck = false;
|
||||
});
|
||||
aiobotocore = super.aiobotocore.overridePythonAttrs (_old: {
|
||||
doCheck = false;
|
||||
});
|
||||
connect-box = super.connect-box.overridePythonAttrs (_old: {
|
||||
doCheck = false;
|
||||
});
|
||||
motionblindsble = super.motionblindsble.overridePythonAttrs (_old: {
|
||||
doCheck = false;
|
||||
});
|
||||
pyinsteon = super.pyinsteon.overridePythonAttrs (_old: {
|
||||
doCheck = false;
|
||||
});
|
||||
psnawp = super.psnawp.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ super.pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "pycountry" ];
|
||||
|
||||
@@ -41,4 +41,4 @@ stdenvNoCC.mkDerivation rec {
|
||||
platforms = with lib.platforms; linux ++ darwin ++ windows;
|
||||
license = with lib.licenses; [ gpl3Only ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,19 +24,21 @@ python3Packages.buildPythonPackage rec {
|
||||
|
||||
build-system = with python3Packages; [ hatchling ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
aiohttp
|
||||
aiomqtt
|
||||
click
|
||||
construct
|
||||
paho-mqtt
|
||||
protobuf
|
||||
pycryptodome
|
||||
pyrate-limiter
|
||||
vacuum-map-parser-roborock
|
||||
click-shell
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin (with python3Packages; [ pycryptodomex ]);
|
||||
dependencies =
|
||||
with python3Packages;
|
||||
[
|
||||
aiohttp
|
||||
aiomqtt
|
||||
click
|
||||
construct
|
||||
paho-mqtt
|
||||
protobuf
|
||||
pycryptodome
|
||||
pyrate-limiter
|
||||
vacuum-map-parser-roborock
|
||||
click-shell
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin (with python3Packages; [ pycryptodomex ]);
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
aioresponses
|
||||
@@ -58,4 +60,4 @@ python3Packages.buildPythonPackage rec {
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "roborock";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user