all repos — nixfiles @ eda4ddef844bb4687efda586a2aac3a274f20a8c

System and user configuration, managed by nix and home-manager

add unstable nixpkgs as overlay and special arg

Alin
commit

eda4ddef844bb4687efda586a2aac3a274f20a8c

parent

ea4503c86855ca75338854f0ea0a15cce077800f

1 file changed, 17 insertions(+), 1 deletion(-)

changed files
M flake.nix → flake.nix
@@ -2,6 +2,7 @@ {
inputs = { flake-compatish.url = "github:lillecarl/flake-compatish"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; + nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; srvos = { url = "github:nix-community/srvos";
@@ -76,9 +77,24 @@ modules,
... }@args: nixpkgs.lib.nixosSystem ( + let + pkgsUnstable = import nixpkgs-unstable { inherit system; }; + in { - inherit system modules; + inherit system; + modules = [ + { + nixpkgs.overlays = overlays ++ [ + (self: super: { + unstable = pkgsUnstable; + personal = import ./packages/overlay.nix self super; + }) + ]; + } + ] + ++ modules; specialArgs = { + inherit pkgsUnstable; inherit inputs; }; }