diff --git a/flake.nix b/flake.nix index fdc5c0c..4bb6f67 100644 --- a/flake.nix +++ b/flake.nix @@ -133,15 +133,6 @@ '') self.nixosConfigurations); - updateInputs = pkgs.writeShellScript "update-inputs" '' - set -e - git diff --exit-code -s flake.lock || (echo "Lockfile has unstaged changes, refusing to update." >&2 && exit 1) - git diff --cached --exit-code -s flake.lock || (echo "Lockfile has staged changes, refusing to update." >&2 && exit 1) - nix flake update - git diff --exit-code -s flake.lock && echo "Already up to date." && exit 0 - git commit -m "Update flake inputs" flake.lock - ''; - showKeyFingerprint = pkgs.writeShellScript "show-key-fingerprint" '' gpg --with-fingerprint --with-colons --show-key "keys/''${1}.asc" | awk -F: '$1 == "fpr" { print $10; exit }' '';