home-manager/modules
Robert Helgesson ef168979bf
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.
2019-02-16 21:42:47 +01:00
..
accounts astroid: add module 2018-11-18 19:55:28 +01:00
lib files: allow a wider range of source file names 2019-01-19 12:44:58 +01:00
lib-bash activation-init: sanity check oldGenNum and oldGenPath 2018-03-13 20:49:45 +01:00
misc nixos module: support NixOS user packages install 2019-02-16 21:42:47 +01:00
programs tmux: general improvements and added options 2019-02-13 22:14:30 +01:00
services emacs: add service module 2019-02-09 15:28:11 +01:00
default.nix modules core: move modules list to own file 2017-11-24 21:58:16 +01:00
files.nix files: allow a wider range of source file names 2019-01-19 12:44:58 +01:00
home-environment.nix nixos module: support NixOS user packages install 2019-02-16 21:42:47 +01:00
manual.nix manual: add HTML manual 2018-05-18 23:22:03 +02:00
modules.nix Clean up support code for Home Manager as a submodule 2019-02-10 00:44:55 +01:00
systemd-activate.rb systemd: improve comments 2018-05-09 16:22:02 +02:00
systemd-activate.sh allow Home Manager to be used as a NixOS module 2018-02-07 20:50:01 +01:00
systemd.nix systemd: add more detail to user unit documentation 2018-10-18 23:39:28 +02:00
xcursor.nix xcursor: add default cursor file option 2018-05-10 20:26:01 +02:00
xresources.nix xresources: remove unnecessary parentheses 2018-09-24 23:24:04 +02:00
xsession.nix xsession: add option xsession.scriptPath 2018-09-19 23:33:13 +02:00