mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01: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}
|
||
|
'';
|
||
|
};
|
||
|
}
|