From 9bb834587d97c1ed57da8b7b36f69731b177af8b Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 25 Aug 2021 21:39:05 +0200 Subject: [PATCH] flake: pin nixpkgs channel in nix path --- flake.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/flake.nix b/flake.nix index faa4564..3484c28 100644 --- a/flake.nix +++ b/flake.nix @@ -53,6 +53,11 @@ home-manager.users.alarsyo = import ./home; home-manager.verbose = true; }; + nix-path = { + nix.nixPath = [ + "nixpkgs=${inputs.nixpkgs}" + ]; + }; }; nixosConfigurations = @@ -76,6 +81,8 @@ modules = [ ./poseidon.nix + self.nixosModules.nix-path + home-manager.nixosModule self.nixosModules.home @@ -103,6 +110,8 @@ modules = [ ./boreal.nix + self.nixosModules.nix-path + home-manager.nixosModule self.nixosModules.home @@ -130,6 +139,8 @@ inputs.nixos-hardware.nixosModules.common-pc-laptop inputs.nixos-hardware.nixosModules.common-pc-ssd + self.nixosModules.nix-path + home-manager.nixosModule self.nixosModules.home