diff options
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 8 | ||||
-rw-r--r-- | flake/default.nix | 6 |
2 files changed, 12 insertions, 2 deletions
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 diff --git a/flake/default.nix b/flake/default.nix index 709b457b..d9643559 100644 --- a/flake/default.nix +++ b/flake/default.nix @@ -5,6 +5,7 @@ system, sysLib, nixpkgs_as_input, + nixpkgs_tfc, # modules home-manager, nixVim, @@ -50,6 +51,8 @@ ; }; defaultModules = [ + "${nixpkgs_tfc}/nixos/modules/config/xdg/portals/termfilechooser.nix" + agenix.nixosModules.default disko.nixosModules.default @@ -73,6 +76,9 @@ nixpkgs_as_input self + # extra package sources + + nixpkgs_tfc ; }; treefmtEval = treefmt-nix.lib.evalModule pkgs ( |