1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-01 02:48:30 +02:00
home-manager/modules/services
polykernel c7592b747b
treewide: prefer XDG variables over dot directories
Currently, dot directories and XDG base directories are used
inconsistently in the Home Manager option declarations. This creates
ambiguity for the user as to where the location of the file should be
albeit this is rarely encountered in practice as it is sufficient to
read upstream documentation. The rationale is to make declarations
consistent and make a clear distinction between hardcoded and modular
specifications.

References to ~/.config in relevant nixpkgs modules were untouched as
the location is hardcoded upstream[1]. Furthermore, modules of
programs which do not follow XDG specifications were also untouched.

Generalization of tilde(~) expansions to $HOME were also considered,
however there isn't sufficient rationale despite the use of $HOME
being more universal. The expansion is standardized in POSIX[2] and is
essentially portable across all shells, thus there is no pragmatic
value to introducing the change.

[1] https://github.com/nixos/nixpkgs/blob/master/pkgs/top-level/impure.nix
[2] https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_01
2021-12-10 23:51:44 +01:00
..
redshift-gammastep Replace usage of literalExample 2021-10-13 00:16:10 +02:00
window-managers Replace pkgs.hostPlatform by pkgs.stdenv.hostPlatform 2021-12-03 23:36:50 +01: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: extend module with package-option 2021-11-20 09:37:34 +01:00
fluidsynth.nix fluidsynth: add sound service option 2021-08-18 00:38:29 +02:00
fnott.nix fnott: add polykernel as maintainer 2021-11-21 08:59:46 +01: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: rewrite hash algo in Nix to avoid IFD 2021-12-08 00:01:29 +01:00
grobi.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01: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: use configured package in service (#2480) 2021-11-16 10:38:36 -07: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 polybar: use recursive config type (#2235) 2021-11-15 16:00:45 -05: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