remaining stuff
This commit is contained in:
parent
c5414fa008
commit
4d07f01d14
3 changed files with 37 additions and 35 deletions
|
|
@ -1,7 +1,7 @@
|
|||
let
|
||||
# get these from /etc/ssh
|
||||
NOcomputer = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPv53GM1uDDOdRxIlHmpf6x2y13yT5bFDNyrgDGLAR1l";
|
||||
NOlaptop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGFACYTHNr0dgtTe8cb6q+NwI1KaKJmNsUrnz5/8ZDvH";
|
||||
NOlaptop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJr8RRPHu9MPa7oNfPbCJK3Lh/FL+WRiaZrI+1JVXBNI";
|
||||
NOmom = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGdPvIo0P00I27i9XQFngsklw/dSyoFs7EgRt7RvkbSq";
|
||||
systems = [NOcomputer NOlaptop NOmom];
|
||||
in {
|
||||
|
|
|
|||
|
|
@ -65,6 +65,8 @@
|
|||
ACTION=="add", ATTR{idVendor}="32ac", ATTR{idProduct}="0013", ATTR{power/wakeup}="disabled"
|
||||
'';
|
||||
|
||||
services.fprintd.enable = true;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
# boot.initrd.availableKernelModules = [
|
||||
# "nvme"
|
||||
|
|
|
|||
|
|
@ -98,41 +98,41 @@
|
|||
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 rebuild switch impurely
|
||||
# "nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path;
|
||||
# "nolaptop".id = builtins.readFile config.age.secrets.syncthing-NOlaptop.path;
|
||||
# "uwuraid".id = builtins.readFile config.age.secrets.syncthing-uwuraid.path;
|
||||
"nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path;
|
||||
"nolaptop".id = builtins.readFile config.age.secrets.syncthing-NOlaptop.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
|
||||
# devs = [
|
||||
# "nocomputer"
|
||||
# "nolaptop"
|
||||
# "uwuraid"
|
||||
# ];
|
||||
# in {
|
||||
# # "documents" = {
|
||||
# # path = "/home/tao/documents";
|
||||
# # devices = devs;
|
||||
# # };
|
||||
# "pictures" = {
|
||||
# path = "/home/tao/pictures";
|
||||
# devices = devs;
|
||||
# };
|
||||
# "projects" = {
|
||||
# path = "/home/tao/projects";
|
||||
# devices = devs;
|
||||
# };
|
||||
# "school" = {
|
||||
# path = "/home/tao/school";
|
||||
# devices = devs;
|
||||
# };
|
||||
# "sync" = {
|
||||
# path = "/home/tao/sync";
|
||||
# devices = devs;
|
||||
# };
|
||||
# "work" = {
|
||||
# path = "/home/tao/work";
|
||||
# devices = devs;
|
||||
# };
|
||||
"pictures" = {
|
||||
path = "/home/tao/pictures";
|
||||
devices = devs;
|
||||
};
|
||||
"projects" = {
|
||||
path = "/home/tao/projects";
|
||||
devices = devs;
|
||||
};
|
||||
"school" = {
|
||||
path = "/home/tao/school";
|
||||
devices = devs;
|
||||
};
|
||||
"sync" = {
|
||||
path = "/home/tao/sync";
|
||||
devices = devs;
|
||||
};
|
||||
"work" = {
|
||||
path = "/home/tao/work";
|
||||
devices = devs;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue