nixos: lock taffybar flake input via git+file

This commit is contained in:
2026-02-13 05:24:23 -08:00
committed by Kat Huang
parent be6f4d8bb8
commit 485718b103
2 changed files with 12 additions and 7 deletions

14
nixos/flake.lock generated
View File

@@ -1990,14 +1990,16 @@
]
},
"locked": {
"lastModified": 1770979550,
"narHash": "sha256-8wTzhmv8UArpk1tpSGVGDqsCsIGrJu/lXFlZjlVKsac=",
"path": "/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar",
"type": "path"
"lastModified": 1770971159,
"narHash": "sha256-FOMr9QGs6dzQ0AHfvq0/s5H8I8IWVl347h2NCu+Upz8=",
"rev": "276ed1fd83bb56d22cb854acb10aeebf64b97c5c",
"revCount": 1790,
"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"
}
},
"vscode-server": {

View File

@@ -125,7 +125,10 @@
};
taffybar = {
url = "path:/home/imalison/dotfiles/dotfiles/config/taffybar/taffybar";
# Use git+file so Nix locks to the git revision and ignores local build
# artifacts (e.g. dist-newstyle, .direnv) that would otherwise make the
# narHash differ across machines.
url = "git+file:///home/imalison/dotfiles/dotfiles/config/taffybar/taffybar";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";