fork/home-manager

git clone https://git.julia.blue/fork/home-manager

polykernelnix: add structural settings (#2718)32e433d0

master
408 B25 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    nix = {
8      registry = {
9        nixpkgs = {
10          to = {
11            type = "github";
12            owner = "my-org";
13            repo = "my-nixpkgs";
14          };
15        };
16      };
17    };
18
19    nmt.script = ''
20      assertFileContent \
21        home-files/.config/nix/registry.json \
22        ${./example-registry-expected.json}
23    '';
24  };
25}