diff --git a/flake.nix b/flake.nix index 8e5f75b5..5bb5069e 100644 --- a/flake.nix +++ b/flake.nix @@ -9,8 +9,10 @@ (system: fn system nixpkgs.legacyPackages.${system}); in { packages = forEachSystem (system: pkgs: rec { - quickshell = pkgs.callPackage ./default.nix {}; - quickshell-nvidia = pkgs.callPackage ./default.nix { nvidiaCompat = true; }; + quickshell = pkgs.callPackage ./default.nix { + gitRev = self.rev or self.dirtyRev; + }; + quickshell-nvidia = quickshell.override { nvidiaCompat = true; }; default = quickshell; nvidia = quickshell-nvidia;