nixosConfigurations as flake checks

For Hydra
This commit is contained in:
Andrea Ciceri 2023-04-12 00:01:31 +02:00
parent 026a0d0180
commit b24edb23ba
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
2 changed files with 14 additions and 9 deletions

View file

@ -20,4 +20,9 @@
# statix.enable = true; # statix.enable = true;
}; };
}; };
flake.checks.x86_64-linux =
builtins.mapAttrs
(_: nc: nc.config.system.build.toplevel)
self.nixosConfigurations;
} }

18
flake.lock generated
View file

@ -53,17 +53,17 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1679903104, "lastModified": 1680949081,
"narHash": "sha256-sKcV22cCxtEj+egRIm5FQD8ng8ZKjMZF+kKBpzn5IgI=", "narHash": "sha256-/1/cdqr44UBbTxZXd2T9T03DsVNQgOPXVb4iSUEPD0Q=",
"ref": "refs/heads/master", "owner": "aciceri",
"rev": "908cfcdaaa60cbe2081a70dc014c3536117b21d3", "repo": "emacs",
"revCount": 35, "rev": "facb4171791d5bd4ce83e75a70a229b57b50e8aa",
"type": "git", "type": "github"
"url": "file:///home/ccr/.config/emacs"
}, },
"original": { "original": {
"type": "git", "owner": "aciceri",
"url": "file:///home/ccr/.config/emacs" "repo": "emacs",
"type": "github"
} }
}, },
"comma": { "comma": {