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;
};
};
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": {
"lastModified": 1679903104,
"narHash": "sha256-sKcV22cCxtEj+egRIm5FQD8ng8ZKjMZF+kKBpzn5IgI=",
"ref": "refs/heads/master",
"rev": "908cfcdaaa60cbe2081a70dc014c3536117b21d3",
"revCount": 35,
"type": "git",
"url": "file:///home/ccr/.config/emacs"
"lastModified": 1680949081,
"narHash": "sha256-/1/cdqr44UBbTxZXd2T9T03DsVNQgOPXVb4iSUEPD0Q=",
"owner": "aciceri",
"repo": "emacs",
"rev": "facb4171791d5bd4ce83e75a70a229b57b50e8aa",
"type": "github"
},
"original": {
"type": "git",
"url": "file:///home/ccr/.config/emacs"
"owner": "aciceri",
"repo": "emacs",
"type": "github"
}
},
"comma": {