Files
home-manager/home-manager/home-manager.nix
Nikita Uvarov 7ad849f033 home-manager: remove escaping
The Nix code that was extracted to its own file erroneously included
escaping of "${".

(cherry picked from commit 5eff7f38df)
2017-08-29 13:05:52 +02:00

16 lines
289 B
Nix

{ pkgs ? import <nixpkgs> {}, confPath, confAttr }:
let
env = import <home-manager> {
configuration =
let
conf = import confPath;
in
if confAttr == "" then conf else conf.${confAttr};
pkgs = pkgs;
};
in
{
inherit (env) activationPackage;
}