home-manager/modules/lib-bash
Robert Helgesson 25ddbf4824
home-manager: use nix-env to list generations
Using the `nix-env` command is far more robust. It also has the
benefit that if the per-user `profiles` and `gcroots` directories do
not exist then they will be created with the correct permissions.

Because of the second point this commit also removes the `mkdir` step
of the installation instructions.

PR #1239
Closes #474, #948, #1091

(cherry picked from commit 9ec9f004e1)
2020-05-20 23:43:24 +02:00
..
activation-init.sh home-manager: use nix-env to list generations 2020-05-20 23:43:24 +02:00
color-echo.sh Credit original source for shell color code 2017-05-14 20:35:13 +02:00