add agenix

This commit is contained in:
Glen Goodwin 2023-10-16 13:28:58 -04:00
parent 3fa51bdbd3
commit e6bc1d2f87
9 changed files with 152 additions and 38 deletions

View file

@ -1,6 +1,11 @@
{ pkgs, ... }:
{ pkgs, config, ... }:
{
age.secrets.env = {
file = ../../secrets/env.age;
owner = "glen";
};
programs = {
zsh = {
enable = true;
@ -25,9 +30,10 @@
#${pkgs.nitch}/bin/nitch
#eval "$(direnv hook zsh)"
eval "$(atuin init zsh)"
clear
pfetch
eval "$(atuin init zsh)"
clear
pfetch
source ${config.age.secrets.env.path}
'';
};
};