mirror of
https://github.com/nix-community/home-manager
synced 2024-12-21 10:33:25 +00:00
26 lines
408 B
Nix
26 lines
408 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
nix = {
|
||
|
registry = {
|
||
|
nixpkgs = {
|
||
|
to = {
|
||
|
type = "github";
|
||
|
owner = "my-org";
|
||
|
repo = "my-nixpkgs";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent \
|
||
|
home-files/.config/nix/registry.json \
|
||
|
${./example-registry-expected.json}
|
||
|
'';
|
||
|
};
|
||
|
}
|