working overlay to get latest version of lazygit
This commit is contained in:
14
flake.nix
14
flake.nix
@@ -29,10 +29,18 @@
|
||||
inherit userName userEmail ghostty;
|
||||
};
|
||||
|
||||
myOverlays = { ... }: {
|
||||
nixpkgs.overlays = [
|
||||
self.common.overlays
|
||||
];
|
||||
};
|
||||
in {
|
||||
|
||||
meta = import ./meta;
|
||||
|
||||
common = {
|
||||
overlays = import ./modules/common/overlays.nix;
|
||||
};
|
||||
|
||||
# Primary laptop - MacBook Pro (2023, M3)
|
||||
darwinConfigurations."sephiroth" = darwin.lib.darwinSystem {
|
||||
system = "aarch64-darwin";
|
||||
@@ -42,6 +50,7 @@
|
||||
role = "devel";
|
||||
};
|
||||
modules = [
|
||||
myOverlays
|
||||
./modules/common
|
||||
./modules/machine/sephiroth
|
||||
|
||||
@@ -64,6 +73,7 @@
|
||||
role = "devel";
|
||||
};
|
||||
modules = [
|
||||
myOverlays
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
./modules/common
|
||||
./modules/machine/cloud
|
||||
@@ -89,6 +99,7 @@
|
||||
role = "server";
|
||||
};
|
||||
modules = [
|
||||
myOverlays
|
||||
./modules/common
|
||||
./modules/machine/valefor
|
||||
|
||||
@@ -113,6 +124,7 @@
|
||||
role = "server";
|
||||
};
|
||||
# modules = [
|
||||
# myOverlays
|
||||
# nix-flatpak.nixosModules.nix-flatpak
|
||||
# nix-ld.nixosModules.nix-ld
|
||||
# ./modules/nixos/hardware-configuration.nix
|
||||
|
@@ -27,6 +27,7 @@ in {
|
||||
./browser.nix
|
||||
./zellij.nix
|
||||
./bat.nix
|
||||
./lazygit.nix
|
||||
];
|
||||
|
||||
# Home Manager needs a bit of information about you and the
|
||||
|
@@ -1,17 +1,7 @@
|
||||
{ pkgs, ... }: let
|
||||
in {
|
||||
{ pkgs, ... }: {
|
||||
programs.lazygit = {
|
||||
enable = true;
|
||||
package = pkgs.lazygit.overrideAttrs (oldAttrs: rec {
|
||||
version = "0.55.1";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "jesseduffield";
|
||||
repo = "lazygit";
|
||||
rev = "v${version}";
|
||||
hash = pkgs.lib.fakeHash;
|
||||
};
|
||||
});
|
||||
package = pkgs.lazygitLatest;
|
||||
|
||||
settings = {
|
||||
gui.theme = {
|
||||
|
@@ -1,5 +1,4 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
@@ -14,7 +13,6 @@
|
||||
|
||||
# utils
|
||||
tmux
|
||||
lazygit
|
||||
bottom
|
||||
ripgrep
|
||||
jq
|
||||
|
@@ -1,5 +1,25 @@
|
||||
{ pkgs, ... }: let
|
||||
|
||||
in {
|
||||
_: prev: {
|
||||
lazygitLatest = prev.lazygit.overrideAttrs (_: rec {
|
||||
version = "0.55.1";
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "jesseduffield";
|
||||
repo = "lazygit";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UofhgILZhVXnYiGpb25m4Ct4sbu5pRmjVgj3oEf5Uyk=";
|
||||
};
|
||||
});
|
||||
|
||||
# atuin = prev.atuin.overrideAttrs (oldAttrs: rec {
|
||||
# version = "18.10.0";
|
||||
#
|
||||
# src = prev.fetchFromGitHub {
|
||||
# owner = "atuinsh";
|
||||
# repo = "atuin";
|
||||
# rev = "v${version}";
|
||||
# hash = "sha256-bfSa3RtVXxHt3usDqqpE/oXKKDUZOrf+tD9uL59fr6M=";
|
||||
# };
|
||||
#
|
||||
# # cargoDeps = null;
|
||||
# cargoHash = prev.lib.fakeSha256;
|
||||
# });
|
||||
}
|
||||
|
Reference in New Issue
Block a user