mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #192496 from cab404/moonraker-defaults-fix
nixos.moonraker: fix config options location
This commit is contained in:
commit
9ee2ceb492
@ -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
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user