diff options
| author | Kira Bruneau <kira.bruneau@pm.me> | 2025-01-02 18:10:04 -0500 |
|---|---|---|
| committer | Cabia Rangris <me+gh@cab.moe> | 2025-01-12 13:58:51 +0400 |
| commit | 809f97881d4e0d827ca5e872bd2e435fef363855 (patch) | |
| tree | 0e6be548bf6bdd23b0edc0201710c867440e2201 /pkgs/development/python-modules/python-openstackclient | |
| parent | 7093d6908eeca322434542ac527902242382233f (diff) | |
nixos/klipper: preserve SAVE_CONFIG for nixos-managed config
Klipper macros that use `SAVE_CONFIG` (eg. bed mesh calibration, PID
tuning, ...) don't currently work with a nixos-managed config.
This can be worked around by using `services.klipper.mutableConfig =
true`, but then you lose out on being able to configure klipper from
NixOS.
This changes the default behaviour so that:
1. The config is stored in `services.klipper.configDir` instead of `/etc`
2. The config is copied instead of symlinked (keeping a timestamped backup of the existing config)
3. The `SAVE_CONFIG` section from the backup is copied over into the new config
4. The backup is deleted if the final config is identical
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
