This commit is contained in:
mjallen18
2026-04-05 13:50:18 -05:00
parent 10b906a27c
commit 37b0c50821
5 changed files with 40 additions and 23 deletions

View File

@@ -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 = {

View File

@@ -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"
];

View File

@@ -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" ];

View File

@@ -41,4 +41,4 @@ stdenvNoCC.mkDerivation rec {
platforms = with lib.platforms; linux ++ darwin ++ windows;
license = with lib.licenses; [ gpl3Only ];
};
}
}

View File

@@ -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";
};
}
}