mirror of
https://github.com/nix-community/home-manager
synced 2024-11-09 20:59:44 +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}
|
||
|
'';
|
||
|
};
|
||
|
}
|