17 lines
403 B
Nix
17 lines
403 B
Nix
{ config, pkgs, ... }:
|
|
let sources = import ./npins;
|
|
in {
|
|
# FIXME(24.05 or nixos-unstable): change following two rules to
|
|
#
|
|
# nixpkgs.flake.source = sources.nixpkgs;
|
|
#
|
|
# which does the exact same thing, using the same machinery as flake configs
|
|
# do as of 24.05.
|
|
nix.registry.nixpkgs.to = {
|
|
type = "path";
|
|
path = sources.nixpkgs;
|
|
};
|
|
nix.nixPath = ["nixpkgs=flake:nixpkgs"];
|
|
}
|
|
|