Testing git config stuff

This commit is contained in:
2026-01-06 13:14:05 -07:00
parent 3808435e35
commit 73e1de4130
7 changed files with 26 additions and 1200 deletions

View File

@@ -1,10 +1,14 @@
{ config, pkgs, ... }:
let
settings = import ../settings.nix;
in
{
# Enable unfree globally
nixpkgs.config.allowUnfree = true;
environment.variables.BROWSER = "librewolf";
environment.variables.SSH_AUTH_SOCK = "/home/${settings.username}/.bitwarden-ssh-agent.sock";
environment.systemPackages =
with pkgs; [
@@ -14,7 +18,6 @@
librewolf
# Development tools
git
go
cargo
gnumake
@@ -67,4 +70,17 @@
programs.steam.extraPackages = [ pkgs.jdk ];
programs.obs-studio.enable = true;
programs.git = {
enable = true;
config = {
user = {
name = settings.gitName;
email = settings.gitEmail;
signingkey = settings.gitKey;
};
gpg.format = "ssh";
commit.gpgsign = true;
};
};
}