Improvements to server

This commit is contained in:
soraefir
2026-05-06 22:48:09 +02:00
parent d73bbd8b18
commit c457867440
6 changed files with 85 additions and 29 deletions

View File

@@ -1,9 +1,9 @@
{ config, pkgs, ... }: {
{ config, lib, pkgs, ... }: {
programs.git = {
enable = true;
signing = {
key = "${config.usercfg.git.key}";
signing = lib.mkIf (config.usercfg.git.key != null) {
key = config.usercfg.git.key;
signByDefault = true;
};
ignores = [ "*result*" ".direnv" "node_modules" ];