mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nix): migrate lazygit
This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
- ~/.config/gh
|
- ~/.config/gh
|
||||||
- ~/.config/gh-dash
|
- ~/.config/gh-dash
|
||||||
- ~/.config/lazydocker
|
- ~/.config/lazydocker
|
||||||
- ~/.config/lazygit
|
|
||||||
- ~/.config/tmux
|
- ~/.config/tmux
|
||||||
- ~/.gnupg
|
- ~/.gnupg
|
||||||
|
|
||||||
@@ -21,7 +20,6 @@
|
|||||||
~/.config/gh/config.yml: github/gh/config.yml
|
~/.config/gh/config.yml: github/gh/config.yml
|
||||||
~/.config/karabiner: karabiner
|
~/.config/karabiner: karabiner
|
||||||
~/.config/lazydocker/config.yml: docker/lazydocker.yml
|
~/.config/lazydocker/config.yml: docker/lazydocker.yml
|
||||||
~/.config/lazygit/config.yml: git/lazygit.yml
|
|
||||||
~/.config/lf: lf
|
~/.config/lf: lf
|
||||||
~/.config/nvim: nvim
|
~/.config/nvim: nvim
|
||||||
~/.config/oatmeal: oatmeal
|
~/.config/oatmeal: oatmeal
|
||||||
|
|||||||
2
Brewfile
2
Brewfile
@@ -239,8 +239,6 @@ brew "jpeg", link: true
|
|||||||
brew "jq"
|
brew "jq"
|
||||||
# Lazier way to manage everything docker
|
# Lazier way to manage everything docker
|
||||||
brew "lazydocker"
|
brew "lazydocker"
|
||||||
# Simple terminal UI for git commands
|
|
||||||
brew "lazygit"
|
|
||||||
# Terminal file manager
|
# Terminal file manager
|
||||||
brew "lf"
|
brew "lf"
|
||||||
# Access DVDs as block devices without the decryption
|
# Access DVDs as block devices without the decryption
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
git:
|
|
||||||
overrideGpg: true
|
|
||||||
paging:
|
|
||||||
colorArg: always
|
|
||||||
pager: delta --dark --paging=never syntax-theme=Dracula
|
|
||||||
customCommands:
|
|
||||||
- key: "C"
|
|
||||||
command: "git cz c"
|
|
||||||
description: "commit with commitizen"
|
|
||||||
context: "files"
|
|
||||||
loadingText: "opening commitizen commit tool"
|
|
||||||
subprocess: true
|
|
||||||
- key: "W"
|
|
||||||
command: git commit --no-verify
|
|
||||||
context: "global"
|
|
||||||
subprocess: true
|
|
||||||
@@ -10,6 +10,7 @@ in
|
|||||||
./ag
|
./ag
|
||||||
./bat
|
./bat
|
||||||
./ctags
|
./ctags
|
||||||
|
./lazygit
|
||||||
./ripgrep
|
./ripgrep
|
||||||
./skhd
|
./skhd
|
||||||
./yabai
|
./yabai
|
||||||
@@ -21,6 +22,9 @@ in
|
|||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
# Write into ~/.config
|
||||||
|
xdg.enable = true;
|
||||||
|
|
||||||
# TODO: First migrate all fonts
|
# TODO: First migrate all fonts
|
||||||
# fonts.fontconfig.enable = true;
|
# fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
|
|||||||
32
nix/home/lazygit/default.nix
Normal file
32
nix/home/lazygit/default.nix
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.lazygit = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
git = {
|
||||||
|
overrideGpg = true;
|
||||||
|
paging = {
|
||||||
|
colorArg = "always";
|
||||||
|
pager = "delta --dark --paging=never syntax-theme=Dracula";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
customCommands = [
|
||||||
|
{
|
||||||
|
key = "C";
|
||||||
|
command = "git cz c";
|
||||||
|
description = "commit with commitizen";
|
||||||
|
context = "files";
|
||||||
|
loadingText = "opening commitizen commit tool";
|
||||||
|
subprocess = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "W";
|
||||||
|
command = "git commit --no-verify";
|
||||||
|
context = "global";
|
||||||
|
subprocess = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user