1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-30 18:38:31 +02:00
home-manager/modules
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
..
accounts email: allow null certificatesFile 2021-08-10 00:12:13 +02:00
config Move platform check into modules 2021-07-18 20:43:22 +02:00
i18n/input-method Replace usage of literalExample 2021-10-13 00:16:10 +02:00
lib modules: remove myself from maintainers.nix 2021-10-13 12:33:52 -03:00
lib-bash home-environment: use declare -gr in activation init 2021-07-27 23:50:33 +02:00
misc hexchat: add module 2021-10-23 21:31:54 +02:00
programs hexchat: Replace literalExample with literalExpression (#2410) 2021-10-24 20:59:22 -04:00
services fnott: remove global properties generation 2021-10-27 00:01:57 +02:00
targets generic-linux: add system fpaths for zsh 2021-09-07 23:47:49 +02:00
default.nix modules: don't reference deprecated stdenv.lib (#1770) 2021-02-01 09:52:05 -05:00
files.nix files: clarify "Please move the above files" message 2021-09-15 00:25:00 +02:00
home-environment.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
manual.nix docs: rename "doc" directory to "docs" 2021-08-17 19:35:11 +02:00
modules.nix hexchat: add module 2021-10-23 21:31:54 +02:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xcursor.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xresources.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xsession.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00