test #17
2 changed files with 12 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
description = "My nixos homelab";
|
||||
description = "My NixOS homelab";
|
||||
|
||||
inputs = {
|
||||
# Nixpkgs and unstable
|
||||
|
@ -57,6 +57,7 @@
|
|||
url = "github:bluskript/nix-inspect";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ self
|
||||
, nixpkgs
|
||||
|
|
|
@ -33,24 +33,19 @@ in
|
|||
userEmail = cfg.email;
|
||||
|
||||
extraConfig = {
|
||||
core = {
|
||||
autocrlf = "input";
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
pull = {
|
||||
rebase = true;
|
||||
};
|
||||
rebase = {
|
||||
autoStash = true;
|
||||
};
|
||||
user = {
|
||||
signingKey = cfg.signingKey;
|
||||
};
|
||||
core.autocrlf = "input";
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = true;
|
||||
rebase.autoStash = true;
|
||||
# public key for signing commits
|
||||
user.signingKey = cfg.signingKey;
|
||||
# ssh instead of gpg
|
||||
gpg.format = "ssh";
|
||||
# gpg.ssh.program = "/etc/profiles/per-user/jahanson/bin/op-ssh-sign";
|
||||
# 1password signing gui git signing
|
||||
gpg.ssh.program = "${pkgs._1password-gui}/bin/op-ssh-sign";
|
||||
# Auto sign commits without -S
|
||||
commit.gpgsign = true;
|
||||
};
|
||||
aliases = {
|
||||
co = "checkout";
|
||||
|
|
Reference in a new issue