summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/home/default.nix b/home/default.nix
index 0580ac8..1475f01 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -6,8 +6,6 @@
...
}:
let
- forAllSystems = lib.genAttrs (import inputs.systems);
- nixpkgsFor = forAllSystems (system: import inputs.nixpkgs { inherit system; });
secrets = import ../lib/secrets.nix { inherit self; };
in
{
@@ -15,9 +13,13 @@ in
let
username = "ebisu";
flakeDirectory = ".nixos-config";
+ systems = import inputs.systems;
in
inputs.home-manager.lib.homeManagerConfiguration {
- pkgs = nixpkgsFor."${builtins.currentSystem}";
+ pkgs =
+ ((import ../lib/systems.nix { inherit lib systems; }) (
+ system: import inputs.nixpkgs { inherit system; }
+ ))."${builtins.currentSystem}";
modules = [
./${username}