Compare commits

..

2 commits

Author SHA1 Message Date
bda284daa9 feat: improve git config 2025-12-02 21:27:05 +01:00
e3b75304ab feat: add atuin 2025-12-02 21:26:52 +01:00
3 changed files with 46 additions and 1 deletions

View file

@ -1,12 +1,37 @@
{ lib, pkgs, ... }:
{
programs.git = {
enable = true;
extraConfig = {
settings = {
push.autoSetupRemote = true;
init.defaultBranch = "main";
pull.rebase = true;
credential = {
"https://github.com/" = {
helper = "${lib.getExe pkgs.gh} auth git-credential";
};
"https://gist.github.com/" = {
helper = "${lib.getExe pkgs.gh} auth git-credential";
};
};
url = {
"ssh://git@github.com" = {
insteadOf = "https://github.com";
};
"ssh://git@git.catgirl.dog" = {
insteadOf = "https://git.catgirl.dog";
};
};
};
};
programs.lazygit = {
enable = true;
enableZshIntegration = true;
};
}

19
home/utils/atuin.nix Normal file
View file

@ -0,0 +1,19 @@
{
programs.atuin = {
enable = true;
enableZshIntegration = true;
flags = [
"--disable-up-arrow"
];
settings = {
dialect = "uk";
sync_frequency = "5m";
sync_address = "https://shsync.catgirl.dog/";
};
daemon.enable = true;
};
}

View file

@ -1,5 +1,6 @@
{
imports = [
./atuin.nix
./blueman.nix
./btop.nix
./direnv.nix