taffybar: use GitHub source by default

This commit is contained in:
2026-04-30 02:15:01 -07:00
parent 231b22d8ae
commit 98b8c6fbd2
3 changed files with 11 additions and 12 deletions

View File

@@ -138,15 +138,15 @@
"locked": { "locked": {
"lastModified": 1777525523, "lastModified": 1777525523,
"narHash": "sha256-/LGaCcX6BgXRYpWnRp9CNgAgy7lmbQsubi4RwHJgnTI=", "narHash": "sha256-/LGaCcX6BgXRYpWnRp9CNgAgy7lmbQsubi4RwHJgnTI=",
"ref": "refs/heads/master", "owner": "taffybar",
"repo": "taffybar",
"rev": "23dbc827adca706b28df7404624ae3f5e800b04f", "rev": "23dbc827adca706b28df7404624ae3f5e800b04f",
"revCount": 2296, "type": "github"
"type": "git",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
}, },
"original": { "original": {
"type": "git", "owner": "taffybar",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar" "repo": "taffybar",
"type": "github"
} }
}, },
"weeder-nix": { "weeder-nix": {

View File

@@ -1,10 +1,9 @@
{ {
inputs = { inputs = {
taffybar = { taffybar = {
# Use the local git checkout, not a raw path snapshot, so gitignored # Keep the default source usable in CI. Local iteration uses
# build artifacts like dist-newstyle/.worktrees/.direnv don't get copied # IMALISON_TAFFYBAR_LIVE_CHECKOUT below via `just switch-local-taffybar`.
# into flake-input store sources. url = "github:taffybar/taffybar";
url = "git+file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar";
inputs.weeder-nix.inputs.pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs"; inputs.weeder-nix.inputs.pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
}; };
# Follow the vendored taffybar flake's pins so the config shell and the # Follow the vendored taffybar flake's pins so the config shell and the

View File

@@ -19,7 +19,7 @@ switch-local-taffybar *args:
fi' fi'
sudo env IMALISON_TAFFYBAR_LIVE_CHECKOUT=/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar \ sudo env IMALISON_TAFFYBAR_LIVE_CHECKOUT=/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar \
nixos-rebuild switch --flake "git+https://github.com/colonelpanic8/dotfiles.git?ref=master&dir=nixos#" --impure --option warn-dirty false \ nixos-rebuild switch --flake "git+https://github.com/colonelpanic8/dotfiles.git?ref=master&dir=nixos#" --impure --option warn-dirty false \
--override-input taffybar git+file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar \ --override-input imalison-taffybar path:/home/imalison/dotfiles/dotfiles/config/taffybar \
{{args}} {{args}}
remote-switch host *args: remote-switch host *args:
@@ -27,4 +27,4 @@ remote-switch host *args:
fix-local-path-issue: fix-local-path-issue:
# Kept for backwards-compat: update the lockfile inputs explicitly. # Kept for backwards-compat: update the lockfile inputs explicitly.
nix flake update taffybar imalison-taffybar nix flake update imalison-taffybar