1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00
home-manager/tests/modules/services
polykernel 46a69810cb
fnott: remove global properties generation
Rationale:

As of release 1.1.2[1], the configuration ini file supports
declaration of the `[main]` header as an alternative to global
properties by enumerating all sections and mapping each to the
respective parsing function. Global properties will still be parsed
correctly by fnott however generation adds unnecessary complexity to
the module. This commit removes the need for global properties
generation.

Changes:

- Fixed the FIXME at L118.

- Cleaned up unneeded let bindings.

- Changed the generation method to use the `pkgs.formats.ini` from
  pkgs-lib instead of the raw `generators` library. This was done for
  consistency and clarity as the `pkgs.formats.ini` is still required
  for type declaration and uses `generators` internally.

- Removed `global-properties` testcase.

- Updated `example-settings` testcase.

[1] - https://codeberg.org/dnkl/fnott/releases/tag/1.1.2
2021-10-27 00:01:57 +02:00
..
barrier tests: add option test.stubs 2021-09-26 23:26:38 +02:00
devilspie2 tests: add option test.stubs 2021-09-26 23:26:38 +02:00
dropbox tests: add option test.stubs 2021-09-26 23:26:38 +02:00
emacs services.emacs: add option extraOptions 2021-10-02 23:28:22 +02:00
flameshot flameshot: add settings option 2021-10-11 21:47:05 +02:00
fluidsynth tests: add option test.stubs 2021-09-26 23:26:38 +02:00
fnott fnott: remove global properties generation 2021-10-27 00:01:57 +02:00
git-sync tests: add option test.stubs 2021-09-26 23:26:38 +02:00
gpg-agent tests: add option test.stubs 2021-09-26 23:26:38 +02:00
kanshi kanshi: allow multiple exec statements per profile 2021-10-03 09:47:22 +02:00
lieer tests: add option test.stubs 2021-09-26 23:26:38 +02:00
pantalaimon tests: add option test.stubs 2021-09-26 23:26:38 +02:00
pbgopy tests: add option test.stubs 2021-09-26 23:26:38 +02:00
playerctld playerctld: add module 2021-01-31 12:36:30 +01:00
polybar tests: add option test.stubs 2021-09-26 23:26:38 +02:00
redshift-gammastep tests: add option test.stubs 2021-09-26 23:26:38 +02:00
screen-locker screen-locker: Make xautolock optional, reorganize options (#2343) 2021-10-05 12:58:25 -04:00
sxhkd tests: add option test.stubs 2021-09-26 23:26:38 +02:00
syncthing tests: add option test.stubs 2021-09-26 23:26:38 +02:00
trayer tests: add option test.stubs 2021-09-26 23:26:38 +02:00
window-managers tests: add option test.stubs 2021-09-26 23:26:38 +02:00
wlsunset tests: add option test.stubs 2021-09-26 23:26:38 +02:00
xsettingsd xsettingsd: make configurable through module 2021-10-01 01:31:47 +02:00