diff --git a/nixos/flake.lock b/nixos/flake.lock index e2656050..8251ad5a 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -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": { diff --git a/nixos/flake.nix b/nixos/flake.nix index 835a9153..6386219e 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -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";