From f29e4608c93838f084d9ae1bfd39a3911f7cbf3f Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 28 Jun 2023 18:26:37 +0100 Subject: [PATCH] Fix nixpkgs for home-manager --- flake.nix | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/flake.nix b/flake.nix index e78c456f..080a675e 100644 --- a/flake.nix +++ b/flake.nix @@ -128,25 +128,11 @@ }; homeConfigurations = { "tux@Monarch" = home-manager.lib.homeManagerConfiguration { - pkgs = - import nixpkgs - { - system = "aarch64-darwin"; - config.allowUnfree = true; - } - .legacyPackages - ."aarch64-darwin"; + pkgs = nixpkgs.legacyPackages."aarch64-darwin"; modules = [./hosts/Monarch/home.nix]; }; "xenia@Northstar" = home-manager.lib.homeManagerConfiguration { - pkgs = - import nixpkgs - { - system = "aarch64-linux"; - config.allowUnfree = true; - } - .legacyPackages - ."aarch64-linux"; + pkgs = nixpkgs.legacyPackages."aarch64-linux"; modules = [./hosts/Northstar/home.nix]; }; };