home-manager/modules/misc
Robert Helgesson 2bdaf4ae98
nixos module: support NixOS user packages install
When using the NixOS module we cannot guarantee that the Nix store
will be writable during startup. Installing the user packages through
`nix-env -i` will fail in these cases.

This commit adds a NixOS option `home-manager.useUserPackages` that,
when enabled, installs user packages through the NixOS

    users.users.<name?>.packages

option.

Note, when submodule support and external package install is enabled
then the installed packages are not available in `~/.nix-profile`. We
therefore set `home.profileDirectory` directly to the HM profile
packages.

(cherry picked from commit ef168979bf)
2019-02-23 22:58:47 +01:00
..
dconf.nix dconf: add module 2019-01-14 18:37:46 +01:00
fontconfig.nix Parametrize path to profile directory 2018-07-31 16:04:19 +02:00
gtk.nix gtk: remove option gtk.gtk3.waylandSupport 2019-01-14 18:37:51 +01:00
lib.nix lib: copy module from NixOS 2018-09-27 21:01:13 +02:00
news.nix nixos module: support NixOS user packages install 2019-02-23 22:58:47 +01:00
nixpkgs.nix nixpkgs: fix installation on non-x86 2019-02-11 01:22:00 +01:00
pam.nix Remove deprecated option home.sessionVariableSetter 2018-02-08 22:54:29 +01:00
qt.nix qt: support GTK+ theming for Qt services 2018-06-03 17:26:47 +02:00
submodule-support.nix nixos module: support NixOS user packages install 2019-02-23 22:58:47 +01:00
version.nix version: add module 2018-11-24 17:27:59 +01:00
xdg.nix xdg: create $XDG_CACHE_HOME 2018-08-20 20:37:26 +02:00