Propagate taffybar tray startup fix through local flakes

This commit is contained in:
2026-03-21 12:01:11 -07:00
committed by Kat Huang
parent 74ccd6ac98
commit 25a84fa685
5 changed files with 31 additions and 21 deletions

View File

@@ -288,14 +288,17 @@
"xmonad-contrib": "xmonad-contrib"
},
"locked": {
"lastModified": 1773988595,
"narHash": "sha256-Zhsp/uRmTRaTkXL/hKwcSPZAHohCw26631Sg43LtvYQ=",
"path": "/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar",
"type": "path"
"lastModified": 1774119529,
"narHash": "sha256-Sx+Lpd5y9zp79/oHkNIsd8Z52g271PO/1fQXcqaDtNc=",
"ref": "refs/heads/master",
"rev": "7feaa6a9881376fecf4645cc84e93f3173f6fcb3",
"revCount": 2266,
"type": "git",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
},
"original": {
"path": "/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar",
"type": "path"
"type": "git",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
}
},
"weeder-nix": {

View File

@@ -49,7 +49,10 @@
flake = false;
};
taffybar = {
url = "path:/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar";
# Use the local git checkout, not a raw path snapshot, so gitignored
# build artifacts like dist-newstyle/.worktrees/.direnv don't get copied
# into flake-input store sources.
url = "git+file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.xmonad.follows = "xmonad";

28
nixos/flake.lock generated
View File

@@ -1977,14 +1977,17 @@
"xmonad-contrib": "xmonad-contrib"
},
"locked": {
"lastModified": 1773949510,
"narHash": "sha256-c3fpnmJfK4KaN8DmdUYgFqeLjcMsxCyNd24864Jzw8w=",
"path": "/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar",
"type": "path"
"lastModified": 1774119529,
"narHash": "sha256-Sx+Lpd5y9zp79/oHkNIsd8Z52g271PO/1fQXcqaDtNc=",
"ref": "refs/heads/master",
"rev": "7feaa6a9881376fecf4645cc84e93f3173f6fcb3",
"revCount": 2266,
"type": "git",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
},
"original": {
"path": "/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar",
"type": "path"
"type": "git",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
}
},
"taffybar_2": {
@@ -2004,12 +2007,13 @@
]
},
"locked": {
"lastModified": 1773598038,
"narHash": "sha256-raml4gCrMtW/hNt2T6E7U7Y+8fDwdRjnsLcNRU7ZmcA=",
"owner": "taffybar",
"repo": "taffybar",
"rev": "3a9cae8b9ff13afd7f2687f10d022620c3e26448",
"type": "github"
"lastModified": 1774119529,
"narHash": "sha256-Sx+Lpd5y9zp79/oHkNIsd8Z52g271PO/1fQXcqaDtNc=",
"ref": "refs/heads/master",
"rev": "7feaa6a9881376fecf4645cc84e93f3173f6fcb3",
"revCount": 2266,
"type": "git",
"url": "file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar"
},
"original": {
"owner": "taffybar",

View File

@@ -18,7 +18,7 @@ switch-local-taffybar *args:
while systemctl is-active --quiet nixos-rebuild-switch-to-configuration.service; do sleep 1; done; \
fi'
sudo nixos-rebuild switch --flake "git+https://github.com/colonelpanic8/dotfiles.git?ref=master&dir=nixos#" --impure --option warn-dirty false \
--override-input taffybar path:../dotfiles/config/taffybar/taffybar \
--override-input taffybar git+file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar \
{{args}}
remote-switch host *args: