figured out agenix

This commit is contained in:
Tao Tien 2024-03-28 23:57:47 -05:00
parent 3dffa4eb4b
commit 8ee4c2b758
6 changed files with 40 additions and 29 deletions

View file

@ -21,7 +21,7 @@
# texlab
# tio
# toastify
# vial
vial
# wkhtmltopdf
# yazi
appimage-run
@ -85,14 +85,23 @@
overrideFolders = false;
settings = {
devices = {
# # we do a lil anti-patterns https://github.com/ryantm/agenix?tab=readme-ov-file#builtinsreadfile-anti-pattern
# # bootstrap by commenting out devices first, and running nixos-rebuild as user
# "nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path;
# we do a lil anti-patterns https://github.com/ryantm/agenix?tab=readme-ov-file#builtinsreadfile-anti-pattern
# bootstrap by commenting out devices first and rebuild switch impurely
"nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path;
};
folders = {
"sync".path = "/home/tao/sync";
"school".path = "/home/tao/school";
"projects".path = "/home/tao/projects";
"sync" = {
path = "/home/tao/sync";
devices = ["nocomputer"];
};
"school" = {
path = "/home/tao/school";
devices = ["nocomputer"];
};
"projects" = {
path = "/home/tao/projects";
devices = ["nocomputer"];
};
# "pictures".path = "/home/tao/pictures";
};
};