Compare commits
2 commits
6a9b0aaf29
...
bda284daa9
| Author | SHA1 | Date | |
|---|---|---|---|
| bda284daa9 | |||
| e3b75304ab |
3 changed files with 46 additions and 1 deletions
|
|
@ -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
19
home/utils/atuin.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./atuin.nix
|
||||
./blueman.nix
|
||||
./btop.nix
|
||||
./direnv.nix
|
||||
|
|
|
|||
Loading…
Reference in a new issue