aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix62
1 files changed, 37 insertions, 25 deletions
diff --git a/flake.nix b/flake.nix
index 7e8afc06..72b55d50 100644
--- a/flake.nix
+++ b/flake.nix
@@ -256,34 +256,24 @@
}: let
system = "x86_64-linux";
- baseLib = import ./lib {inherit (pkgs) lib;};
+ packageSets = rec {
+ stable = nixpkgs-stable.legacyPackages.${system};
+ unstable = nixpkgs.legacyPackages.${system};
- inherit (library) nixLib;
-
- pkgsStable = nixpkgs-stable.legacyPackages.${system};
- pkgs = nixpkgs.legacyPackages.${system};
- myPkgs = import ./pkgs {
- inherit pkgs nixLib;
+ soispha = import ./pkgs {
+ inherit libraries;
+ pkgs = unstable;
+ };
};
- nixpkgs_as_input = nixpkgs;
- nixpkgs_open_prs = {
+ libraries = rec {
+ nix = packageSets.unstable.lib;
+ base = import ./lib {lib = nix;};
+ extra = library.nixLib;
};
- outputs = import ./flake {
+ modules = {
inherit
- # core
- self
- pkgs
- pkgsStable
- nixLib
- myPkgs
- system
- sysLib
- baseLib
- nixpkgs_as_input
- nixpkgs_open_prs
- # modules
home-manager
nixvim
nixos-generators
@@ -294,14 +284,36 @@
lanzaboote
nix-index-database
arkenfox-nixos
- # external dependencies
+ ;
+ };
+
+ externalDependencies = {
+ inherit
treefmt-nix
templates
- # my binaries
- shell_library
+ ;
+ };
+
+ externalBinaries = {
+ inherit
qmk_firmware
;
};
+
+ openPRsNixpkgs = {};
+
+ outputs = import ./flake {
+ inherit
+ self
+ system
+ openPRsNixpkgs
+ packageSets
+ libraries
+ modules
+ externalDependencies
+ externalBinaries
+ ;
+ };
in
outputs;
}