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

View File

@@ -125,7 +125,10 @@
}; };
taffybar = { 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 = { inputs = {
nixpkgs.follows = "nixpkgs"; nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils"; flake-utils.follows = "flake-utils";