home-manager/docs
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
..
release-notes docs: add note about Waybar modules 2021-12-03 18:57:59 +01:00
contributing.adoc docs: rename "doc" directory to "docs" 2021-08-17 19:35:11 +02:00
default.nix docs: bump nmd 2021-11-18 16:32:15 +01:00
faq.adoc dbus: improve recommended NixOS configuration 2021-09-23 22:35:30 +02:00
installation.adoc Switch to 21.11 as stable release 2021-11-25 22:22:26 +01:00
man-configuration.xml docs: rename "doc" directory to "docs" 2021-08-17 19:35:11 +02:00
man-home-manager.xml treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
man-pages.xml docs: rename "doc" directory to "docs" 2021-08-17 19:35:11 +02:00
manual.xml docs: move usage section to chapter in manual 2021-11-14 00:13:54 +01:00
usage.adoc Switch to 22.05 as current development release 2021-11-25 22:29:49 +01:00
writing-modules.adoc docs: rename "doc" directory to "docs" 2021-08-17 19:35:11 +02:00