23.11: get rid of most warnings

This commit is contained in:
2023-11-27 17:54:44 +02:00
parent 3c3758b852
commit fb310f9e29
8 changed files with 78 additions and 76 deletions

View File

@@ -179,7 +179,7 @@
locate = {
enable = true;
locate = pkgs.plocate;
package = pkgs.plocate;
localuser = null;
};
};

View File

@@ -14,7 +14,7 @@ in {
passwd = lib.mkOption {
type = attrsOf (submodule {
options = {
passwordFile = lib.mkOption {
hashedPasswordFile = lib.mkOption {
type = nullOr path;
default = null;
};
@@ -49,7 +49,7 @@ in {
}
// lib.filterAttrs (
n: v:
(n == "passwordFile" || n == "initialPassword") && v != null
(n == "hashedPasswordFile" || n == "initialPassword") && v != null
)
cfg.passwd.motiejus or {};