refactor: move max into dentritic pattern
This commit is contained in:
11
modules/common/features/pkgs-unstable.nix
Normal file
11
modules/common/features/pkgs-unstable.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ inputs, ... }: {
|
||||
flake.nixosModules.commonUnstablePkgsOverlay = { ... }: {
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
pkgs-unstable = import inputs.nixpkgs-unstable {
|
||||
inherit (prev.stdenv.hostPlatform) system;
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user