NixOS system configuration: Difference between revisions
m minor fix of typo |
Starfish2228 (talk | contribs) →Importing packages from multiple nixpkgs branches: fix overlay to respect existing config/system |
||
| Line 187: | Line 187: | ||
inputs = { | inputs = { | ||
nixpkgs.url = "github:NixOS/nixpkgs/nixos- | nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; | ||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; | nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; | ||
}; | }; | ||
| Line 199: | Line 199: | ||
nixpkgs.overlays = [ | nixpkgs.overlays = [ | ||
(final: prev: { | (final: prev: { | ||
unstable = import nixpkgs-unstable { | |||
inherit (final) config; | |||
inherit (final.stdenv.hostPlatform) system; | |||
}; | |||
}) | }) | ||
]; | ]; | ||