remaining stuff

This commit is contained in:
Tao Tien 2024-10-14 01:03:54 -07:00
parent c5414fa008
commit 4d07f01d14
3 changed files with 37 additions and 35 deletions

View file

@ -1,7 +1,7 @@
let let
# get these from /etc/ssh # get these from /etc/ssh
NOcomputer = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPv53GM1uDDOdRxIlHmpf6x2y13yT5bFDNyrgDGLAR1l"; NOcomputer = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPv53GM1uDDOdRxIlHmpf6x2y13yT5bFDNyrgDGLAR1l";
NOlaptop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGFACYTHNr0dgtTe8cb6q+NwI1KaKJmNsUrnz5/8ZDvH"; NOlaptop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJr8RRPHu9MPa7oNfPbCJK3Lh/FL+WRiaZrI+1JVXBNI";
NOmom = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGdPvIo0P00I27i9XQFngsklw/dSyoFs7EgRt7RvkbSq"; NOmom = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGdPvIo0P00I27i9XQFngsklw/dSyoFs7EgRt7RvkbSq";
systems = [NOcomputer NOlaptop NOmom]; systems = [NOcomputer NOlaptop NOmom];
in { in {

View file

@ -65,6 +65,8 @@
ACTION=="add", ATTR{idVendor}="32ac", ATTR{idProduct}="0013", ATTR{power/wakeup}="disabled" ACTION=="add", ATTR{idVendor}="32ac", ATTR{idProduct}="0013", ATTR{power/wakeup}="disabled"
''; '';
services.fprintd.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
# boot.initrd.availableKernelModules = [ # boot.initrd.availableKernelModules = [
# "nvme" # "nvme"

View file

@ -98,41 +98,41 @@
devices = { devices = {
# we do a lil anti-patterns https://github.com/ryantm/agenix?tab=readme-ov-file#builtinsreadfile-anti-pattern # 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 # bootstrap by commenting out devices first and rebuild switch impurely
# "nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path; "nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path;
# "nolaptop".id = builtins.readFile config.age.secrets.syncthing-NOlaptop.path; "nolaptop".id = builtins.readFile config.age.secrets.syncthing-NOlaptop.path;
# "uwuraid".id = builtins.readFile config.age.secrets.syncthing-uwuraid.path; "uwuraid".id = builtins.readFile config.age.secrets.syncthing-uwuraid.path;
};
folders = let
devs = [
"nocomputer"
"nolaptop"
"uwuraid"
];
in {
# "documents" = {
# path = "/home/tao/documents";
# devices = devs;
# }; # };
# folders = let "pictures" = {
# devs = [ path = "/home/tao/pictures";
# "nocomputer" devices = devs;
# "nolaptop" };
# "uwuraid" "projects" = {
# ]; path = "/home/tao/projects";
# in { devices = devs;
# # "documents" = { };
# # path = "/home/tao/documents"; "school" = {
# # devices = devs; path = "/home/tao/school";
# # }; devices = devs;
# "pictures" = { };
# path = "/home/tao/pictures"; "sync" = {
# devices = devs; path = "/home/tao/sync";
# }; devices = devs;
# "projects" = { };
# path = "/home/tao/projects"; "work" = {
# devices = devs; path = "/home/tao/work";
# }; devices = devs;
# "school" = { };
# path = "/home/tao/school";
# devices = devs;
# };
# "sync" = {
# path = "/home/tao/sync";
# devices = devs;
# };
# "work" = {
# path = "/home/tao/work";
# devices = devs;
# };
}; };
}; };
}; };