Merge pull request #192496 from cab404/moonraker-defaults-fix

nixos.moonraker: fix config options location
This commit is contained in:
Alexander Bantyev 2022-09-23 11:25:57 +04:00 committed by GitHub
commit 9ee2ceb492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,11 @@ in {
host = cfg.address;
port = cfg.port;
klippy_uds_address = cfg.klipperSocket;
};
file_manager = {
config_path = cfg.configDir;
};
database = {
database_path = "${cfg.stateDir}/database";
};
};
@ -153,6 +157,7 @@ in {
serviceConfig = {
WorkingDirectory = cfg.stateDir;
PrivateTmp = true;
Group = cfg.group;
User = cfg.user;
};
@ -175,4 +180,9 @@ in {
});
'';
};
meta.maintainers = with maintainers; [
cab404
vtuan10
];
}