From 90845f898961daf165544697564258e20aa2add4 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Sun, 25 Aug 2024 00:19:22 -0400 Subject: [PATCH] Make git-crypt part of the system config --- home-manager/tuiapps/git.nix | 4 ---- nixos/modules/gpg.nix | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/home-manager/tuiapps/git.nix b/home-manager/tuiapps/git.nix index 0a05a06..c2fd071 100644 --- a/home-manager/tuiapps/git.nix +++ b/home-manager/tuiapps/git.nix @@ -8,8 +8,4 @@ userName = secrets.jimUsername; userEmail = secrets.jimEmail; }; - - home.packages = with pkgs; [ - git-crypt - ]; } diff --git a/nixos/modules/gpg.nix b/nixos/modules/gpg.nix index 599315b..5475e6a 100644 --- a/nixos/modules/gpg.nix +++ b/nixos/modules/gpg.nix @@ -3,4 +3,7 @@ enable = true; enableSSHSupport = true; }; + environment.systemPackages = with pkgs; [ + git-crypt + ]; }