mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 06:08:16 +03:00
moonraker: disable check_klipper_config if klipper is immutable
This commit is contained in:
parent
da285ab5e5
commit
0fc323eeef
@ -186,6 +186,12 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
# set this to false, otherwise we'll get a warning indicating that `/etc/klipper.cfg`
|
||||
# is not located in the moonraker config directory.
|
||||
services.moonraker.settings = lib.mkIf (!config.services.klipper.mutableConfig) {
|
||||
file_manager.check_klipper_config_path = false;
|
||||
};
|
||||
|
||||
security.polkit.extraConfig = lib.optionalString cfg.allowSystemControl ''
|
||||
// nixos/moonraker: Allow Moonraker to perform system-level operations
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user