1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00
home-manager/modules
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
..
accounts email: add fastmail.com email flavor (#2457) 2021-11-14 00:07:23 +01:00
config Replace pkgs.hostPlatform by pkgs.stdenv.hostPlatform 2021-12-03 23:36:50 +01:00
i18n/input-method Replace usage of literalExample 2021-10-13 00:16:10 +02:00
lib less: allow customization 2021-11-30 23:28:32 +01:00
lib-bash home-environment: use declare -gr in activation init 2021-07-27 23:50:33 +02:00
misc treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
programs treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
services treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
targets Replace pkgs.hostPlatform by pkgs.stdenv.hostPlatform 2021-12-03 23:36:50 +01:00
default.nix modules: don't reference deprecated stdenv.lib (#1770) 2021-02-01 09:52:05 -05:00
files.nix files: quote cmp file arguments 2021-10-30 19:15:34 +02:00
home-environment.nix Switch to 21.11 as stable release 2021-11-25 22:22:26 +01:00
manual.nix docs: rename "doc" directory to "docs" 2021-08-17 19:35:11 +02:00
modules.nix less: allow customization 2021-11-30 23:28:32 +01: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 systemd: do not install systemd files when user is root (#2454) 2021-11-23 01:06:43 -05: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