From 6cc85a916a427710307403fb7f77bfa2bd02ee93 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Fri, 18 Dec 2020 13:13:02 -0700 Subject: [PATCH 1/2] home-manager: fix trying to import Fixes #30. --- hosts/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/default.nix b/hosts/default.nix index 089f064..3372384 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -24,6 +24,8 @@ let core = self.nixosModules.profiles.core; global = { + home-manager.useGlobalPkgs = true; + networking.hostName = hostName; nix.nixPath = let path = toString ../.; in [ From 1aaf9827b06ddf59aca7ea60bcad7ff51605eaf5 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Sat, 19 Dec 2020 14:55:33 -0700 Subject: [PATCH 2/2] home-manager: follow project README.md for flakes home-manager's readme specifies that, at a bare minimum, `useUserPackages` should be used in addition to `useGlobalPkgs`, when using a flakes configuration. --- hosts/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/default.nix b/hosts/default.nix index 3372384..7e65763 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -25,6 +25,7 @@ let global = { home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; networking.hostName = hostName; nix.nixPath = let path = toString ../.; in