Revert "Add git-crypt"
This reverts change Iffcfd9ff0f7f1cf4991ffa2e89b4403f0d29f675
We are no longer using git-cript, instead doing all secrets with
sops-nix
Change-Id: Id3d64edee4643d1f3db3b6fc4cccb9760f4c8528
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/418
Tested-by: Samuel Shuert <coded@clicks.codes>
Reviewed-by: Skyler Grey <minion@clicks.codes>
diff --git a/.git-crypt/.gitattributes b/.git-crypt/.gitattributes
deleted file mode 100644
index 665b10e..0000000
--- a/.git-crypt/.gitattributes
+++ /dev/null
@@ -1,4 +0,0 @@
-# Do not edit this file. To specify the files to encrypt, create your own
-# .gitattributes file in the directory where your files are.
-* !filter !diff
-*.gpg binary
diff --git a/.git-crypt/keys/default/0/76E0B09A741C4089522111E5F27E3E5922772E7A.gpg b/.git-crypt/keys/default/0/76E0B09A741C4089522111E5F27E3E5922772E7A.gpg
deleted file mode 100644
index a135b10..0000000
--- a/.git-crypt/keys/default/0/76E0B09A741C4089522111E5F27E3E5922772E7A.gpg
+++ /dev/null
Binary files differ
diff --git a/.git-crypt/keys/default/0/BC82DF237610AE9113EB075900E944BFBE99ADB5.gpg b/.git-crypt/keys/default/0/BC82DF237610AE9113EB075900E944BFBE99ADB5.gpg
deleted file mode 100644
index 84e58a0..0000000
--- a/.git-crypt/keys/default/0/BC82DF237610AE9113EB075900E944BFBE99ADB5.gpg
+++ /dev/null
Binary files differ
diff --git a/.gitattributes b/.gitattributes
deleted file mode 100644
index 441b501..0000000
--- a/.gitattributes
+++ /dev/null
@@ -1 +0,0 @@
-*.crypt.* filter=git-crypt diff=git-crypt
\ No newline at end of file
diff --git a/homes/x86_64-linux/coded@shorthair/default.nix b/homes/x86_64-linux/coded@shorthair/default.nix
index e06745b..f9d43b9 100644
--- a/homes/x86_64-linux/coded@shorthair/default.nix
+++ b/homes/x86_64-linux/coded@shorthair/default.nix
@@ -45,7 +45,6 @@
delta.enable = true;
stgit.enable = true;
gitReview.enable = true;
- gitCrypt.enable = true;
auth.clicksUsername = "coded";
gpg.enable = true;
diff --git a/homes/x86_64-linux/minion@greylag/default.nix b/homes/x86_64-linux/minion@greylag/default.nix
index 2783ba4..e651678 100644
--- a/homes/x86_64-linux/minion@greylag/default.nix
+++ b/homes/x86_64-linux/minion@greylag/default.nix
@@ -112,7 +112,6 @@
delta.enable = true;
stgit.enable = true;
gitReview.enable = true;
- gitCrypt.enable = true;
auth.clicksUsername = "minion";
gpg.enable = true;
};
diff --git a/modules/home/git/default.nix b/modules/home/git/default.nix
index 04a1915..b8ac878 100644
--- a/modules/home/git/default.nix
+++ b/modules/home/git/default.nix
@@ -9,7 +9,6 @@
gitReview.enable = lib.mkEnableOption "Enable git review";
delta.enable = lib.mkEnableOption "Enable delta, an alternative pager for git diffs that highlights syntax";
stgit.enable = lib.mkEnableOption "Install StGit, a tool that makes working with stacked patches easier";
- gitCrypt.enable = lib.mkEnableOption "Install git-crypt, a transparent file encryption tool for git repositories";
auth = {
clicksUsername = lib.mkOption {
type = lib.types.str;
@@ -36,8 +35,7 @@
home.packages =
(if config.chimera.git.gitReview.enable then [ pkgs.git-review ] else [ ])
- ++ (if config.chimera.git.stgit.enable then [ pkgs.stgit ] else [ ])
- ++ (if config.chimera.git.gitCrypt.enable then [ pkgs.git-crypt ] else [ ]);
+ ++ (if config.chimera.git.stgit.enable then [ pkgs.stgit ] else [ ]);
programs.zsh.shellAliases =
if config.chimera.git.gitReview.enable then { "gr!" = "git review"; } else { };