Enables git-crypt

This commit is contained in:
willemml 2023-11-19 14:11:06 -08:00
parent ef2a73f331
commit 4ebae290dd
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
5 changed files with 5 additions and 0 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
common/secrets.nix filter=git-crypt diff=git-crypt

View file

@ -16,4 +16,6 @@
wallpapers = import ./wallpapers.nix; wallpapers = import ./wallpapers.nix;
sshAuthorizedKeyFiles = [./sshpubkeys/willem-nixbox ./sshpubkeys/willem-thinkpad ./sshpubkeys/willem-zeus]; sshAuthorizedKeyFiles = [./sshpubkeys/willem-nixbox ./sshpubkeys/willem-thinkpad ./sshpubkeys/willem-zeus];
secrets = import ./secrets.nix;
} }

BIN
common/secrets.nix Normal file

Binary file not shown.

View file

@ -33,6 +33,7 @@ in rec {
}; };
sessionVariables = rec { sessionVariables = rec {
GCTESTSECRET = globals.secrets.test_secret;
DOTDIR = "${config.home.homeDirectory}/.config/dotfiles.nix"; DOTDIR = "${config.home.homeDirectory}/.config/dotfiles.nix";
EDITOR = emacsCommand; EDITOR = emacsCommand;
VISUAL = emacsCommand; VISUAL = emacsCommand;

View file

@ -42,6 +42,7 @@ in {
fenix-rust fenix-rust
findutils findutils
gawk gawk
git-crypt
gnuplot gnuplot
graphviz graphviz
htop htop