From 19789829f8bed530ec3617361ad5acffa21b9d21 Mon Sep 17 00:00:00 2001
From: rycee
If you have made something interesting related to Home Manager then you are encouraged to create a PR that expands this chapter.
xhmm — extra Home Manager modules -
A collection of modules maintained by Anselm Schüler.
Home Manager currently installs packages into the user environment, precisely as if the packages were installed through nix-env --install
. This means that you will get a collision error if your Home Manager configuration attempts to install a package that you already have installed manually, that is, packages that shows up when you run nix-env --query
.
For example, imagine you have the hello
package installed in your environment
$ nix-env --query +A collection of modules maintained by Anselm Schüler.
+Stylix — System-wide colorscheming and typography +
Configure your applications to get coherent color scheme and font.
Home Manager currently installs packages into the user environment, precisely as if the packages were installed through nix-env --install
. This means that you will get a collision error if your Home Manager configuration attempts to install a package that you already have installed manually, that is, packages that shows up when you run nix-env --query
.
For example, imagine you have the hello
package installed in your environment
$ nix-env --query hello-2.10
and your Home Manager configuration contains
home.packages = [ pkgs.hello ];
Then attempting to switch to this configuration will result in an error similar to
$ home-manager switch these derivations will be built: /nix/store/xg69wsnd1rp8xgs9qfsjal017nf0ldhm-home-manager-path.drv