1
0
Fork 0

Add git-crypt

This commit is contained in:
Daniel Kempkens 2022-07-30 22:44:28 +02:00
parent 09af4c843b
commit 6c567b9d58
2 changed files with 4 additions and 1 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
secret/** filter=git-crypt diff=git-crypt

View file

@ -1,10 +1,12 @@
{ config, ... }: { pkgs, config, ... }:
let let
config-work-nedeco = "${config.xdg.configHome}/git/config-work-nedeco"; config-work-nedeco = "${config.xdg.configHome}/git/config-work-nedeco";
config-work-wdw = "${config.xdg.configHome}/git/config-work-wdw"; config-work-wdw = "${config.xdg.configHome}/git/config-work-wdw";
in in
{ {
home.packages = [ pkgs.git-crypt ];
programs.git = { programs.git = {
enable = true; enable = true;
lfs.enable = true; lfs.enable = true;