about summary refs log tree commit diff stats
path: root/flake/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-24 16:32:50 +0100
committerSoispha <soispha@vhack.eu>2024-03-24 16:37:12 +0100
commit541a6666530a9e59a31a30a3273560ff48497211 (patch)
tree3c4cbfb27ff87f688da3d2137ba609d25852fec5 /flake/default.nix
parentfix(treewide): Update the shell library version (diff)
downloadnixos-config-541a6666530a9e59a31a30a3273560ff48497211.tar.gz
nixos-config-541a6666530a9e59a31a30a3273560ff48497211.zip
refactor(flake): Use an attrs for including open prs
This change allows to me to faster add new nixpkgs versions.
Diffstat (limited to 'flake/default.nix')
-rw-r--r--flake/default.nix7
1 files changed, 4 insertions, 3 deletions
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 (