migrated scripts to separate flake

This commit is contained in:
2024-12-14 16:30:47 -06:00
parent a325009332
commit 16b0a42aca
14 changed files with 50 additions and 28 deletions

View File

@@ -1,4 +1,5 @@
{
inputs,
config,
pkgs,
lib,
@@ -35,7 +36,7 @@
description = "Updates the IP of all my domains";
package =
let
update-dns = pkgs.writeScriptBin "update-dns" (builtins.readFile ../../scripts/update-dns.sh);
update-dns = inputs.jawz-scripts.packages.x86_64-linux.update-dns;
in
pkgs.writeScriptBin "update-dns" ''
#!/usr/bin/env nix-shell