This commit is contained in:
parent
f756c287a9
commit
c6e9553f89
6 changed files with 46 additions and 39 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -204,11 +204,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1742231203,
|
||||
"narHash": "sha256-pnYUjLfx61IKmg9+So8BdSkZCjb69ynpLlKqy7ba9s0=",
|
||||
"lastModified": 1742584474,
|
||||
"narHash": "sha256-cUw2nyUn+2Ii/70D8sJXnAVkRxyrvH2DwfVHdphzx1Y=",
|
||||
"owner": "nydragon",
|
||||
"repo": "hjem-rum",
|
||||
"rev": "7cd095c4064072c603bc3b02eaa33d11735c1cf4",
|
||||
"rev": "f321c4709fe9dea794cb886d4a3cb689d9b6546a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
imports = [
|
||||
./neovim
|
||||
./ssh
|
||||
./git
|
||||
./fish
|
||||
./btop.nix
|
||||
./beets.nix
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "nydragon";
|
||||
userEmail = "contact@ccnlc.eu";
|
||||
extraConfig = {
|
||||
gpg.format = "ssh";
|
||||
push = {
|
||||
autoSetupRemote = true;
|
||||
};
|
||||
pull = {
|
||||
rebase = true;
|
||||
};
|
||||
core = {
|
||||
editor = "${pkgs.neovim}/bin/nvim";
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
merge = {
|
||||
conflictstyle = "diff3";
|
||||
};
|
||||
diff = {
|
||||
colorMoved = "default";
|
||||
};
|
||||
};
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
key = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMvPqWPXEUOSMGMIRmirQfbrzq//NkPlEI2TmFpIkSfw";
|
||||
};
|
||||
delta.enable = true;
|
||||
};
|
||||
}
|
|
@ -41,7 +41,6 @@ in
|
|||
loupe
|
||||
pwvucontrol
|
||||
thunderbird
|
||||
keepassxc
|
||||
protonmail-bridge-gui
|
||||
signal-desktop
|
||||
tagger
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
./foot.nix
|
||||
./fuzzel.nix
|
||||
./keepassxc.nix
|
||||
./git.nix
|
||||
];
|
||||
}
|
||||
|
|
42
users/ny/programs/git.nix
Normal file
42
users/ny/programs/git.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ pkgs, libmy, ... }:
|
||||
let
|
||||
inherit (libmy) getExe;
|
||||
in
|
||||
{
|
||||
rum.programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user = {
|
||||
email = "contact@ccnlc.eu";
|
||||
name = "nydragon";
|
||||
signingKey = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMvPqWPXEUOSMGMIRmirQfbrzq//NkPlEI2TmFpIkSfw";
|
||||
};
|
||||
gpg.format = "ssh";
|
||||
push = {
|
||||
autoSetupRemote = true;
|
||||
};
|
||||
pull = {
|
||||
rebase = true;
|
||||
};
|
||||
core = {
|
||||
editor = "${getExe pkgs.neovim}";
|
||||
pager = "${getExe pkgs.delta}";
|
||||
};
|
||||
interactive = {
|
||||
diffFilter = "${getExe pkgs.delta} --color-only";
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
merge = {
|
||||
conflictstyle = "diff3";
|
||||
};
|
||||
diff = {
|
||||
colorMoved = "default";
|
||||
};
|
||||
tag.gpgSign = true;
|
||||
commit.gpgSign = true;
|
||||
};
|
||||
destination = ".config/git/config";
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue