NixOS setting "enabled" does not follow standard
Description
When setting Noctalia configs declaratively with the home manager module, values use enabled = true and not the more standard enable = true. This caused some minor confusion as I was configuring Noctalia.
Steps to Reproduce
For example: programs.noctalia-shell.settings.dock.enable = false; won't disable the dock, it must be *.enabled instead.
Expected Behavior
Because home-manager just creates the json as provided, there is no warning for an invalid value and enable = true will simply be ignored.
Screenshots
N/A
Environment
- Distro: NixOS
- Compositor: N/A
- Noctalia-shell Version: 3.3.0
The project as evolved a lot since v1 and we have a lot of legacy settings, some naming could clearly be improved but that would mean doing a large upgrade pass to avoid breaking everyone's config. I'm not sure this will ever happen...
For most users it's a non issue as they use the UI to configure noctalia.
For nixOS users you should refer to Assets/settings-default.json to ensure you have the proper setting key.
I use NixOS, but I don't think that's the problem. If you've used NixVim, you might see a lot of "enabled" keys because of nvim API / plugins