1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-23 18:29:47 +01:00
home-manager/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
..
redshift-gammastep Replace usage of literalExample 2021-10-13 00:16:10 +02:00
window-managers Replace usage of literalExample 2021-10-13 00:16:10 +02:00
barrier.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
betterlockscreen.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
blueman-applet.nix Add systemd target tray.target (#2027) 2021-05-22 03:15:12 +01:00
caffeine.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
cbatticon.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
clipmenu.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
compton.nix picom: add module 2020-03-24 23:50:22 +01:00
devilspie2.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
dropbox.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
dunst.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
dwm-status.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
easyeffects.nix dbus: improve recommended NixOS configuration 2021-09-23 22:35:30 +02:00
emacs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
etesync-dav.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
flameshot.nix flameshot: add settings option 2021-10-11 21:47:05 +02:00
fluidsynth.nix fluidsynth: add sound service option 2021-08-18 00:38:29 +02:00
fnott.nix fnott: remove global properties generation 2021-10-27 00:01:57 +02:00
getmail.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
git-sync.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
gnome-keyring.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
gpg-agent.nix gpg-agent: remove unnecessary IFD 2021-09-15 23:09:02 +02:00
grobi.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
hound.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
imapnotify-accounts.nix imapnotify: add extraConfig account option 2021-10-18 09:45:23 +02:00
imapnotify.nix imapnotify: add extraConfig account option 2021-10-18 09:45:23 +02:00
kanshi.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
kbfs.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
kdeconnect.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
keepassx.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
keybase.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
keynav.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
lieer.nix lieer: change settings to freeform type 2021-09-14 23:59:56 +02:00
lorri.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mako.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mbsync.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mpd.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
mpdris2.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mpris-proxy.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
muchsync.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
network-manager-applet.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
nextcloud-client.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
notify-osd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
owncloud-client.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
pantalaimon.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
parcellite.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
pass-secret-service.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
password-store-sync.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
pasystray.nix Add systemd target tray.target (#2027) 2021-05-22 03:15:12 +01:00
pbgopy.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
picom.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
plan9port.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
playerctld.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
polybar.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
poweralertd.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
pulseeffects.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
random-background.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
rsibreak.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
screen-locker.nix screen-locker: Make xautolock optional, reorganize options (#2343) 2021-10-05 12:58:25 -04:00
spotifyd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
stalonetray.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
status-notifier-watcher.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
sxhkd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
syncthing.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
taffybar.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
tahoe-lafs.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
taskwarrior-sync.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
trayer.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
udiskie.nix Add systemd target tray.target (#2027) 2021-05-22 03:15:12 +01:00
unclutter.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
unison.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
volnoti.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
wlsunset.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
xcape.nix xcape: run xcape after setxkbmap (#2198) (#2199) 2021-07-19 21:16:14 -04:00
xembed-sni-proxy.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xidlehook.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xscreensaver.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
xsettingsd.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xsuspender.nix Move platform check into modules 2021-07-18 20:43:22 +02:00