home-assistant: configure admin group, remove moved patches
This commit is contained in:
parent
c4150b3715
commit
964cc54cee
|
@ -207,7 +207,10 @@
|
||||||
|
|
||||||
hedgedoc.ldap.userGroup = "hedgedoc-users";
|
hedgedoc.ldap.userGroup = "hedgedoc-users";
|
||||||
|
|
||||||
home-assistant.ldap.userGroup = "home-assistant-users";
|
home-assistant.ldap = {
|
||||||
|
adminGroup = "home-assistant-admins";
|
||||||
|
userGroup = "home-assistant-users";
|
||||||
|
};
|
||||||
|
|
||||||
hydra.ldap = {
|
hydra.ldap = {
|
||||||
roleMappings = [
|
roleMappings = [
|
||||||
|
|
|
@ -98,10 +98,7 @@ in
|
||||||
"zha" # Zigbee
|
"zha" # Zigbee
|
||||||
];
|
];
|
||||||
ldap.enable = true;
|
ldap.enable = true;
|
||||||
package = (pkgs.home-assistant.override {
|
package = pkgs.home-assistant.override {
|
||||||
extraPackages = ps: with ps; [
|
|
||||||
pyqrcode # for TOTP qrcode
|
|
||||||
];
|
|
||||||
# those tests take a long(er) time and can't be sped up with pytest-xdist
|
# those tests take a long(er) time and can't be sped up with pytest-xdist
|
||||||
packageOverrides = _: prev: let
|
packageOverrides = _: prev: let
|
||||||
noTests.doCheck = false;
|
noTests.doCheck = false;
|
||||||
|
@ -109,14 +106,7 @@ in
|
||||||
aws-sam-translator = prev.aws-sam-translator.overridePythonAttrs (_: noTests);
|
aws-sam-translator = prev.aws-sam-translator.overridePythonAttrs (_: noTests);
|
||||||
moto = prev.moto.overridePythonAttrs (_: noTests);
|
moto = prev.moto.overridePythonAttrs (_: noTests);
|
||||||
};
|
};
|
||||||
}).overrideAttrs ({ patches ? [ ], ... }: {
|
};
|
||||||
patches = patches ++ [
|
|
||||||
../../overlays/home-assistant-local_temperature_calibration.diff
|
|
||||||
../../overlays/home-assistant-no-cloud.diff
|
|
||||||
];
|
|
||||||
|
|
||||||
doInstallCheck = false;
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nginx = {
|
nginx = {
|
||||||
|
|
Loading…
Reference in New Issue