aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-18 14:13:06 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-18 14:18:18 -0700
commit2e3d0aa6f39b496b8b8c97c6186cdf5b1ae745ae (patch)
tree79d143147464c4fc0d64073e8e8225b7998a4505
parentfeat(ipconverter): add a tool to convert IPv4 to int and vice-versa (diff)
downloadinfra-2e3d0aa6f39b496b8b8c97c6186cdf5b1ae745ae.tar.gz
feat(ipconverter): add the tool to nix
Change-Id: Ie98ad07ac4de61fc25f9a9821fb5617d12ea5f70 Reviewed-on: https://cl.fcuny.net/c/world/+/442 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to '')
-rw-r--r--flake.nix1
-rw-r--r--nix/mkSystem.nix5
2 files changed, 5 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 6f1d036..1431c28 100644
--- a/flake.nix
+++ b/flake.nix
@@ -51,6 +51,7 @@
tools = {
dnsupdate = import ./tools/dnsupdate { inherit pkgs; };
govanity = import ./tools/govanity { inherit pkgs; };
+ ipconverter = import ./tools/ipconverter { inherit pkgs; };
};
users.fcuny = {
diff --git a/nix/mkSystem.nix b/nix/mkSystem.nix
index 88d6f99..eddc813 100644
--- a/nix/mkSystem.nix
+++ b/nix/mkSystem.nix
@@ -15,7 +15,10 @@ inputs.nixpkgs.lib.nixosSystem {
inputs.emacs-overlay.overlay
inputs.nur.overlay
(final: prev: {
- tools = { gerrit-hook = import ../tools/gerrit-hook final; };
+ tools = {
+ gerrit-hook = import ../tools/gerrit-hook final;
+ ipconverter = import ../tools/ipconverter final;
+ };
})
];
};