summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-04-13 11:00:14 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-04-13 11:00:14 -0500
commita6858dca2565fdacba0852aeb77e638f0dc886c2 (patch)
tree61f819786fe04cbe054a86bd36bb0366982ed591 /pkgs
parentda3e6ade8765b67123360d902051ac352ad02ef0 (diff)
downloadnixos-a6858dca2565fdacba0852aeb77e638f0dc886c2.tar.xz
nixos-a6858dca2565fdacba0852aeb77e638f0dc886c2.zip
add ability to use unstable packages in config and use unstable.sparrow
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index aae0751..fb76338 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }: {
+{ pkgs, inputs, ... }: {
nixpkgs.overlays = with pkgs; [
(final: prev: {
immich-frame = (callPackage ./immich-frame {});
@@ -28,5 +28,11 @@
})
(import ./st/overrides.nix)
(import ./xorg/overrides.nix)
+ # Allow installing unstable packages via pkgs.unstable.<name>
+ (final: prev: {
+ unstable = import inputs.nixpkgs-unstable {
+ inherit (final) system;
+ };
+ })
];
}