Commit Graph

2 Commits

Author SHA1 Message Date
Jan Tojnar
35e033d416 gnome.nixos-gsettings-override: Make compilation strict
Otherwise people will just miss errors in their overrides and be confused why they do not work.
2022-09-26 00:52:08 +02:00
Jan Tojnar
1d4bddaed5 gnome.nixos-gsettings-override: extract from NixOS module
This will clean up the module slightly and bring it more in line with Pantheon & Cinnamon.
While at it do some other refactoring inspired by those modules:

- Correct a typo in light background attribute name.
- Rename the attribute name.
- Quote arguments.
- Extract the overridden package list and override text into variables.
- Avoid having separate copy commands for overrides from packages.
- Avoid `with` statements.
- Use `concatMapStringsSep`.
2022-09-26 00:52:08 +02:00