aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlays/default.nix16
1 files changed, 10 insertions, 6 deletions
diff --git a/overlays/default.nix b/overlays/default.nix
index 52fd0ee..cb0f4e4 100644
--- a/overlays/default.nix
+++ b/overlays/default.nix
@@ -1,8 +1,7 @@
# This file defines overlays
-{ inputs, ... }:
-{
+{inputs, ...}: {
# This one brings our custom packages from the 'pkgs' directory
- additions = final: _prev: import ../pkgs { pkgs = final; };
+ additions = final: _prev: import ../pkgs {pkgs = final;};
# This one contains whatever you want to overlay
# You can change versions, add patches, set compilation flags, anything really.
@@ -13,12 +12,17 @@
# });
};
- # When applied, the unstable nixpkgs set (declared in the flake inputs) will
- # be accessible through 'pkgs.unstable'
- unstable-packages = final: _prev: {
+ truly-unstable-packages = final: _prev: {
unstable = import inputs.nixpkgs-small {
system = final.system;
config.allowUnfree = true;
};
};
+
+ unstable-packages = final: _prev: {
+ unstable = import inputs.nixpkgs {
+ system = final.system;
+ config.allowUnfree = true;
+ };
+ };
}