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