more adjustments

This commit is contained in:
Noah Masur
2025-02-15 20:26:14 -05:00
parent 2425c76a84
commit 617fc6cce2
36 changed files with 288 additions and 291 deletions

View File

@ -5,7 +5,7 @@
...
}:
let
inherit (config.nmasur.settings) hostnames;
inherit (config.nmasur.settings) hostnames username;
cfg = config.services.filebrowser;
dataDir = "/var/lib/filebrowser";
@ -18,7 +18,7 @@ let
database = "${dataDir}/filebrowser.db";
root = "";
"auth.method" = "json";
username = config.user;
username = username;
# Generate password: htpasswd -nBC 10 "" | tr -d ':\n'
password = "$2y$10$ze1cMob0k6pnXRjLowYfZOVZWg4G.dsPtH3TohbUeEbI0sdkG9.za";
};

View File

@ -9,6 +9,7 @@ in
enable = lib.mkEnableOption "Wait for identity file oneshot";
identityFile = lib.mkOption {
type = lib.types.path;
default = config.identityFile;
};
};