From 247c708a9c4cdd88760cdb813b82949571e566bf Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 23 Jul 2024 20:04:53 -0400 Subject: [PATCH 1/2] nix-darwin and home-manager: add forSystems --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 7f38480..c827d08 100644 --- a/flake.nix +++ b/flake.nix @@ -281,6 +281,7 @@ { what = "Home Manager configuration"; derivation = this.activationPackage; + forSystems = [ derivation.system ]; }) output); }; @@ -295,6 +296,7 @@ { what = "nix-darwin configuration"; derivation = this.system; + forSystems = [ derivation.system ]; }) output); }; From d3559765164f78e1e7365ada036ac567119ca4bb Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 23 Jul 2024 20:18:05 -0400 Subject: [PATCH 2/2] Update flake.nix --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c827d08..083c6c6 100644 --- a/flake.nix +++ b/flake.nix @@ -281,7 +281,7 @@ { what = "Home Manager configuration"; derivation = this.activationPackage; - forSystems = [ derivation.system ]; + forSystems = [ this.activationPackage.system ]; }) output); }; @@ -296,7 +296,7 @@ { what = "nix-darwin configuration"; derivation = this.system; - forSystems = [ derivation.system ]; + forSystems = [ this.system.system ]; }) output); };