From 8b19e198c86da452384e07eea405c468b932ad96 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Mon, 1 Jun 2026 13:26:04 -0400 Subject: [PATCH] Add viscosity-cli to mightlymac --- flake.lock | 58 +++++++++++++++++++++- flake.nix | 5 ++ modules/hosts/darwin/mightymac/default.nix | 1 + 3 files changed, 63 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 283ee63..80456a7 100644 --- a/flake.lock +++ b/flake.lock @@ -275,6 +275,24 @@ "type": "github" } }, + "flake-utils_3": { + "inputs": { + "systems": "systems_3" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "flox": { "inputs": { "crane": "crane", @@ -774,7 +792,8 @@ "private-flake": "private-flake", "simple-nixos-mailserver": "simple-nixos-mailserver", "sops-nix": "sops-nix", - "statix": "statix" + "statix": "statix", + "viscosity-cli": "viscosity-cli" } }, "rust-analyzer-src": { @@ -927,6 +946,21 @@ "type": "github" } }, + "systems_3": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "treefmt-nix": { "inputs": { "nixpkgs": "nixpkgs_2" @@ -962,6 +996,28 @@ "repo": "flake-utils", "type": "github" } + }, + "viscosity-cli": { + "inputs": { + "flake-utils": "flake-utils_3", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1780329762, + "narHash": "sha256-M3oXGATtDnZk/lwIW8K9PlWA1gKY0XhNfqM/1MeouZI=", + "owner": "genebean", + "repo": "viscosity-cli", + "rev": "ebc2d35382f85fbe39863c04cb8c2effc9d6ffd7", + "type": "github" + }, + "original": { + "owner": "genebean", + "ref": "nix-flake", + "repo": "viscosity-cli", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index fc32b83..2fec211 100644 --- a/flake.nix +++ b/flake.nix @@ -104,6 +104,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + viscosity-cli = { + url = "github:genebean/viscosity-cli/nix-flake"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; # end inputs outputs = inputs@{ self, nixpkgs, ... }: diff --git a/modules/hosts/darwin/mightymac/default.nix b/modules/hosts/darwin/mightymac/default.nix index df8ca26..f3577cb 100644 --- a/modules/hosts/darwin/mightymac/default.nix +++ b/modules/hosts/darwin/mightymac/default.nix @@ -8,6 +8,7 @@ golangci-lint goreleaser inputs.flox.packages.${pkgs.stdenv.hostPlatform.system}.default + inputs.viscosity-cli.packages.${pkgs.stdenv.hostPlatform.system}.default kopia kubectx #reposurgeon # Nix is a major version behind brew