From e8077fde966e051fc449fffcfa061c7f7edc47b0 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 14 Apr 2025 19:01:38 -0700 Subject: migration: finalize --- snowfall/modules/home/tools/git/default.nix | 45 ----------------------------- 1 file changed, 45 deletions(-) delete mode 100644 snowfall/modules/home/tools/git/default.nix (limited to 'snowfall/modules/home/tools/git') diff --git a/snowfall/modules/home/tools/git/default.nix b/snowfall/modules/home/tools/git/default.nix deleted file mode 100644 index 1780d80..0000000 --- a/snowfall/modules/home/tools/git/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ options, config, lib, namespace, ... }: - -with lib; with lib.${namespace}; let - cfg = config.${namespace}.tools.git; -in { - options.${namespace}.tools.git = with types; { - enable = mkEnableOption "git"; - - name = mkOption { - type = str; - }; - - email = mkOption { - type = str; - }; - - key = mkOption { - type = nullOr str; - }; - - sign = mkOption { - type = bool; - default = true; - }; - }; - - config = mkIf cfg.enable { - programs.git = { - enable = true; - - userName = cfg.name; - userEmail = cfg.email; - - signing = { - key = cfg.key; - signByDefault = cfg.sign; - }; - - ignores = [ - "*~" - "*.swp" - ]; - }; - }; -} -- cgit v1.2.3