From bc388c1d27444b75aa8825f28f2caabfec26861d Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 23 Mar 2024 15:33:12 +0100 Subject: fix(flake): Import my modules stuck in nixpkgs prs directly That makes it possible to use plain `nixpkgs-unstable` for the whole system, whilst still using my unmerged modules and packages. --- flake.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 4226578b..648b164a 100644 --- a/flake.nix +++ b/flake.nix @@ -3,8 +3,8 @@ inputs = { # base - # nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - nixpkgs.url = "github:soispha/nixpkgs/tfc-unstable"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs-tfc.url = "github:soispha/nixpkgs/add-termfilechooser"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.05"; # inputs for following @@ -237,6 +237,7 @@ # core self, nixpkgs, + nixpkgs-tfc, # modules home-manager, nixos-generators, @@ -268,8 +269,10 @@ config = self.nixosConfigurations.tiamat.config.home-manager.users.soispha; overlays = []; }); + # FIXME: this `nixpkgs` misses the configs applied to the other one nixpkgs_as_input = nixpkgs; + nixpkgs_tfc = nixpkgs-tfc; outputs = import ./flake { inherit # core @@ -278,6 +281,7 @@ system sysLib nixpkgs_as_input + nixpkgs_tfc # modules home-manager -- cgit 1.4.1