mirror of
https://github.com/nix-community/home-manager
synced 2024-12-18 09:03:16 +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}
|
||
|
'';
|
||
|
};
|
||
|
}
|