1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-29 17:57:28 +02:00
home-manager/modules/programs
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
..
command-not-found command-not-found: update from nixpkgs 2021-06-20 20:40:37 +02:00
vscode Replace usage of literalExample 2021-10-13 00:16:10 +02:00
zsh prezto: fix environment files being overwritten (#1863) 2021-03-17 18:35:10 +00:00
abook.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
afew.nix format: remove exception for afew module (#1955) 2021-04-28 21:58:49 +02:00
alacritty.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
alot-accounts.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
alot.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
aria2.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
astroid-accounts.nix treewide: replace attrs by formats or types.anything 2020-11-29 21:54:55 -05:00
astroid-config-template.json astroid: add module 2018-11-18 19:55:28 +01:00
astroid.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
atuin.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
autojump.nix fish: remove promptInit in favor of interactiveShellInit (#2231) 2021-10-27 16:40:39 -06:00
autorandr.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
bash.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
bat.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
beets.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
bottom.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
broot.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
browserpass.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
chromium.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
dircolors.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
direnv.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
eclipse.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
emacs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
exa.nix exa: add module 2021-04-11 22:47:06 +02:00
feh.nix feh: allow binding actions to multiple buttons/keys 2020-09-30 00:55:09 +02:00
firefox.nix firefox: create user.js when only bookmarks are specified in config (issue #2492) (#2521) 2021-12-01 22:21:41 -05:00
fish.nix Remove remaining allowSubstitutes = false 2021-11-12 23:24:08 +01:00
foot.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
fzf.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
getmail-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
getmail.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
gh.nix gh: support gh as git credential manager for github.com 2021-10-21 23:20:25 +02:00
git.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
gnome-terminal.nix programs.gnome-terminal: terminal options (#2042) 2021-06-15 23:39:56 +02:00
go.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
gpg.nix gpg: support declarative trust and public keys 2021-11-26 09:02:36 +01:00
hexchat.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
himalaya.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
home-manager.nix Remove some usage of config.lib.dag 2021-05-09 12:13:31 +02:00
htop.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
i3status-rust.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
i3status.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
info.nix info: generate dir file directly in profile 2020-09-18 14:05:42 +02:00
irssi.nix irssi: format using nixfmt 2021-10-31 10:32:58 +01:00
java.nix java: add module 2021-08-10 23:30:12 +02:00
jq.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
kakoune.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
keychain.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
kitty.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
lazygit.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
less.nix less: store 'lesskey' under XDG_CONFIG_HOME 2021-12-08 11:23:56 +01:00
lesspipe.nix Mark rycee as maintainer for a bunch of modules 2017-09-26 23:40:31 +02:00
lf.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
lieer.nix lieer: change settings to freeform type 2021-09-14 23:59:56 +02:00
lsd.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
man.nix man: support building manual page index cache 2020-09-13 20:52:08 +02:00
mangohud.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
matplotlib.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mbsync-accounts.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
mcfly.nix mcfly: switch to init command (#2301) 2021-08-29 23:42:54 -04:00
mercurial.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
mpv.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
msmtp-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
msmtp.nix email: allow null certificatesFile 2021-08-10 00:12:13 +02:00
mu.nix mu: fix command (#1623) 2021-01-19 19:36:31 +01:00
ncmpcpp.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
ncspot.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
ne.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
neomutt-accounts.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
neomutt.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
neovim.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
newsboat.nix newsboat: add sumnerevans as maintainer 2021-04-11 22:20:03 +02:00
nix-index.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
nnn.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
noti.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
notmuch.nix notmuch: inline notmuch-accounts.nix 2020-09-24 20:02:49 +02:00
nushell.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
obs-studio.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
octant.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
offlineimap-accounts.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
offlineimap.nix offlineimap: Fix for OfflineIMAP 8 (#2479) 2021-11-16 10:31:01 -07:00
opam.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
password-store.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
pazi.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
pet.nix pet: fix settings format issue 2021-11-17 23:42:21 +01:00
pidgin.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
piston-cli.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
powerline-go.nix powerline-go: add support for -modules-right 2021-12-03 17:58:03 +01:00
qutebrowser.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
rbw.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
readline.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
rofi-pass.nix rofi-pass: add rofi-pass plugin for password-store 2020-12-18 23:22:57 +01:00
rofi.nix rofi: fix theme definition in configuration for 1.7.0+ (#2513) 2021-11-28 15:07:46 -05:00
rtorrent.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
sbt.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
scmpuff.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
senpai.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
skim.nix skim: add fish integration 2020-10-11 22:59:23 +02:00
sm64ex.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
ssh.nix ssh: add includes option (#2453) 2021-11-16 11:51:10 -07:00
starship.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
taskwarrior.nix taskwarrior: change config file location and use relative theme paths (#2455) 2021-11-23 21:33:03 -05:00
terminator.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
termite.nix termite: add option to enable VTE integration (#1917) 2021-04-20 19:45:39 -04:00
texlive.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
tmux.nix tmux: format using nixfmt 2021-10-31 10:24:01 +01:00
topgrade.nix treewide: prefer XDG variables over dot directories 2021-12-10 23:51:44 +01:00
urxvt.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
vim.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
vscode.nix vscode: avoid unnecessary IFD (#2506) 2021-11-24 20:55:38 -05:00
waybar.nix waybar: make module a freeform module, remove warnings 2021-11-29 20:52:06 -05:00
xmobar.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
z-lua.nix z-lua: Add shell aliases to fish (#2376) 2021-10-06 08:49:56 -06:00
zathura.nix zathura: allow configuring the package used (#1636) 2020-12-04 18:38:22 +01:00
zoxide.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
zplug.nix programs.zsh.zplug: add zplugHome option 2021-11-02 08:49:47 +01:00
zsh.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00