diff options
| author | spl3g <spleefer6@yandex.ru> | 2025-10-27 23:47:50 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-10-27 23:50:34 +0300 |
| commit | 67eb7a33b90e5c241c1a2cee9a5cf70f196ea78e (patch) | |
| tree | c7ad56f987c6d42ec2bc2ed2bd116121c13e79d2 /overlays | |
| parent | 58f992a0ffa9c35c9c49b56a9e2f65489f180079 (diff) | |
feat: add unstable packages to overlays
Diffstat (limited to 'overlays')
| -rw-r--r-- | overlays/default.nix | 16 |
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; + }; + }; } |
