gitbutler-cli: init at 0.18.8

This commit is contained in:
Christoph Hollizeck 2026-03-17 12:00:50 +01:00
parent 957542e4dd
commit 4aa86d92aa
4 changed files with 40 additions and 19 deletions

View file

@ -53,6 +53,7 @@
ls = "eza -lah --icons --git";
lss = "ls --total-size";
lt = "ls -T --git-ignore";
bs = "but status";
};
functions = {
checkHash = "nix hash to-sri --type sha256 $(nix-prefetch-url --unpack $argv)";
@ -64,12 +65,6 @@
syncfactoriomodstoserver = ''rsync -aP ~/.factorio/mods/ root@loptland:/var/lib/factorio/mods/ --delete && ssh root@loptland "systemctl restart systemd-tmpfiles-resetup.service && systemctl restart factorio.service"'';
};
plugins = with pkgs.fishPlugins; [
{
name = "forgit";
src = forgit.src;
}
];
};
yazi = {

View file

@ -11,6 +11,7 @@ topLevel: {
homeManager.cholli =
{
config,
inputs,
lib,
osConfig,
pkgs,
@ -18,11 +19,18 @@ topLevel: {
}:
let
username = topLevel.config.flake.meta.users.cholli.username;
temp = import inputs.nixpkgs-temp {
system = pkgs.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
in
{
home.packages = [
pkgs.git-credential-manager
];
temp.gitbutler-cli
]
++ lib.optional (osConfig.networking.hostName == "yggdrasil") pkgs.gitbutler;
programs.git = {
enable = true;