diff options
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 17 | ||||
-rw-r--r-- | flake/default.nix | 7 |
2 files changed, 15 insertions, 9 deletions
diff --git a/flake.nix b/flake.nix index 648b164a..f56b5e21 100644 --- a/flake.nix +++ b/flake.nix @@ -3,9 +3,10 @@ inputs = { # base + nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + # open nixpkgs prs nixpkgs-tfc.url = "github:soispha/nixpkgs/add-termfilechooser"; - nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.05"; # inputs for following systems = { @@ -272,7 +273,11 @@ # FIXME: this `nixpkgs` misses the configs applied to the other one nixpkgs_as_input = nixpkgs; - nixpkgs_tfc = nixpkgs-tfc; + nixpkgs_open_prs = { + inherit + nixpkgs-tfc + ; + }; outputs = import ./flake { inherit # core @@ -281,9 +286,9 @@ system sysLib nixpkgs_as_input - nixpkgs_tfc + nixpkgs_open_prs # modules - + home-manager nixVim nixos-generators @@ -295,12 +300,12 @@ lanzaboote nix-index-database # external dependencies - + treefmt-nix user_js templates # my binaries - + shell_library river_init_lesser yambar_memory diff --git a/flake/default.nix b/flake/default.nix index daa22734..c9d64740 100644 --- a/flake/default.nix +++ b/flake/default.nix @@ -5,7 +5,7 @@ system, sysLib, nixpkgs_as_input, - nixpkgs_tfc, + nixpkgs_open_prs, # modules home-manager, nixVim, @@ -31,6 +31,7 @@ inherit pkgs sysLib + nixpkgs_open_prs # extra information system @@ -51,7 +52,7 @@ ; }; defaultModules = [ - "${nixpkgs_tfc}/nixos/modules/config/xdg/portals/termfilechooser.nix" + "${nixpkgs_open_prs.nixpkgs-tfc}/nixos/modules/config/xdg/portals/termfilechooser.nix" agenix.nixosModules.default @@ -78,7 +79,7 @@ self # extra package sources - nixpkgs_tfc + nixpkgs_open_prs ; }; treefmtEval = treefmt-nix.lib.evalModule pkgs ( |