Add git config to home manager
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m39s

This commit is contained in:
Torjus Håkestad 2024-10-07 22:21:50 +02:00
parent 87deff0d7e
commit e5d71b6715
2 changed files with 24 additions and 8 deletions

View File

@ -17,22 +17,23 @@
{ {
imports = [ imports = [
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops
./sops
./editor/neovim ./editor/neovim
./programs/firefox ./hyprland/gunter.nix
./programs/tmux ./packages
./programs/dunst ./programs/dunst
./programs/git
./programs/firefox
./programs/kitty ./programs/kitty
./programs/rofi
./programs/obs-studio ./programs/obs-studio
./programs/rofi
./programs/tmux
./programs/vscode ./programs/vscode
./scripts ./scripts
./zsh
./packages
./hyprland/gunter.nix
./ssh
./services/backup-home.nix ./services/backup-home.nix
./services/ghettoptt.nix ./services/ghettoptt.nix
./sops
./ssh
./zsh
]; ];
firefox.enable = true; firefox.enable = true;
tmux.enable = true; tmux.enable = true;

View File

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
programs.git = {
enable = true;
userName = "Torjus Håkestad";
userEmail = "torjus@usit.uio.no";
lfs.enable = true;
signing = {
key = "~/.ssh/id_ed25519.pub";
signByDefault = true;
};
};
}