use nh from nixpkgs, move common options from hosts/ to modules/common/

This commit is contained in:
Nikodem Rabuliński 2024-01-21 11:50:13 +01:00
parent d46e1d0f32
commit 07c2d7e460
4 changed files with 41 additions and 90 deletions

View file

@ -25,12 +25,11 @@
...
}: {
devShells.default = pkgs.mkShellNoCC {
packages =
[
inputs'.agenix.packages.agenix
]
packages = [
inputs'.agenix.packages.agenix
# TODO: Contribute darwin support to nh
++ lib.optionals (!pkgs.stdenv.isDarwin) [inputs'.nh.packages.default];
pkgs.nh
];
};
formatter = pkgs.alejandra;
@ -84,9 +83,6 @@
hercules-ci-effects = {
url = "github:hercules-ci/hercules-ci-effects";
};
nh = {
url = "github:viperML/nh";
};
conduit-src = {
url = "gitlab:famedly/conduit?ref=next";
flake = false;