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
Robert Helgesson f69816489d
home-manager: handle missing per-user profiles directory
Specifically, if the global per-user profiles path do not exist and we
cannot create it during the activation, then place our profile in the
Home Manager data directory. We prefer to use the global location,
though, since it makes it visible to `nix-collect-garbage`.

This is intended to improve compatibility with Nix version 2.14 and
later, which no longer creates the per-user directories.

Also, use the Home Manager data directory to manage the gcroot for the
current generation. It does not have to sit in the global per-user
gcroots directory since it should never be eligible for GC.
2023-03-07 23:53:06 +01:00
..
accounts email: add signature delimiter 2022-12-04 09:34:22 +01:00
config treewide: fix typos (#3618) 2023-01-24 11:30:04 +01:00
i18n/input-method im/fcitx5: add GLFW_IM_MODULE session variable 2022-10-16 21:42:32 +02:00
launchd launchd: fix example of StartCalendarInterval 2023-02-21 21:52:39 +01:00
lib vim-vint: add module (#3604) 2023-02-05 11:12:28 +01:00
lib-bash home-manager: handle missing per-user profiles directory 2023-03-07 23:53:06 +01:00
misc xfconf: fix dbus may not be started in the startup of NixOS. (#3707) 2023-03-05 09:47:06 +01:00
po home-manager: handle missing per-user profiles directory 2023-03-07 23:53:06 +01:00
programs broot: remove unnecessary IFD 2023-03-05 13:27:21 +01:00
services mpd: add extraArgs (#3735) 2023-03-05 09:41:34 +01:00
targets treewide: fix typos 2022-12-05 12:58:02 +01:00
default.nix Add lib argument to homeManagerConfiguration (#2753) 2022-04-17 18:14:41 -04:00
files.nix home-manager: handle missing per-user profiles directory 2023-03-07 23:53:06 +01:00
home-environment.nix home-manager: handle missing per-user profiles directory 2023-03-07 23:53:06 +01:00
manual.nix format: update and remove exceptions (#3029) 2022-06-16 14:13:06 +02:00
modules.nix avizo: add module 2023-02-22 23:26:41 +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: remove platform assertion 2023-02-07 21:54:25 +01:00
xresources.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xsession.nix xsession: add xplugd service to accompany setxkbmap (#2450) 2021-12-23 15:38:44 -05:00