mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-07-05 01:09:29 +02:00
treewide: migrate workman from thinkman
Some checks are pending
/ Build Nix targets (push) Waiting to run
Some checks are pending
/ Build Nix targets (push) Waiting to run
This commit is contained in:
parent
ba5e415474
commit
62d5687a0f
6 changed files with 15 additions and 15 deletions
|
@ -79,6 +79,6 @@
|
|||
systemd.services.sshd.wantedBy = lib.mkForce [ "multi-user.target" ];
|
||||
|
||||
users.extraUsers.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@thinkman"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@workman"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
];
|
||||
hashedPasswordFile = config.sops.secrets."users/felix/password".path;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@thinkman"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@workman"
|
||||
"no-touch-required sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIHhjrfqyOS+M9ATSTVr9JXPERBXOow/ZmkWICjbtbEgXAAAAFHNzaDpmZWxpeC1wZXJzb25hbC0x ssh:felix-personal-1"
|
||||
"no-touch-required sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIMHExVOrEevQ+bwrrW3cXCO7Y/SyA+7wG+b6ZvAWY4MJAAAAFHNzaDpmZWxpeC1wZXJzb25hbC0y ssh:felix-personal-2"
|
||||
];
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
urAccepted = 3;
|
||||
};
|
||||
devices = {
|
||||
"thinkman" = {
|
||||
"workman" = {
|
||||
id = "KXSCPX3-JCCFZM4-S2LQZZL-3AM6WRL-IPNWVG2-IB5FEDJ-YYFUIRR-VMDO3AL";
|
||||
};
|
||||
"birdman" = {
|
||||
|
@ -38,7 +38,7 @@
|
|||
id = "djdxo-1akub";
|
||||
path = "/data/computer";
|
||||
devices = [
|
||||
"thinkman"
|
||||
"workman"
|
||||
"birdman"
|
||||
"serverle"
|
||||
];
|
||||
|
@ -47,7 +47,7 @@
|
|||
id = "4hds7-gpypp";
|
||||
path = "/data/phone";
|
||||
devices = [
|
||||
"thinkman"
|
||||
"workman"
|
||||
"birdman"
|
||||
"serverle"
|
||||
];
|
||||
|
@ -57,7 +57,7 @@
|
|||
path = "/data/music";
|
||||
fsWatcherEnabled = false;
|
||||
devices = [
|
||||
"thinkman"
|
||||
"workman"
|
||||
"birdman"
|
||||
"serverle"
|
||||
];
|
||||
|
@ -67,7 +67,7 @@
|
|||
path = "/data/photos";
|
||||
fsWatcherEnabled = false;
|
||||
devices = [
|
||||
"thinkman"
|
||||
"workman"
|
||||
"serverle"
|
||||
];
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
urAccepted = 3;
|
||||
};
|
||||
devices = {
|
||||
"thinkman" = {
|
||||
"workman" = {
|
||||
id = "KXSCPX3-JCCFZM4-S2LQZZL-3AM6WRL-IPNWVG2-IB5FEDJ-YYFUIRR-VMDO3AL";
|
||||
};
|
||||
"birdman" = {
|
||||
|
@ -38,7 +38,7 @@
|
|||
id = "djdxo-1akub";
|
||||
path = "/data/computer";
|
||||
devices = [
|
||||
"thinkman"
|
||||
"workman"
|
||||
"birdman"
|
||||
"newton"
|
||||
];
|
||||
|
@ -47,7 +47,7 @@
|
|||
id = "4hds7-gpypp";
|
||||
path = "/data/phone";
|
||||
devices = [
|
||||
"thinkman"
|
||||
"workman"
|
||||
"birdman"
|
||||
"newton"
|
||||
];
|
||||
|
@ -57,7 +57,7 @@
|
|||
path = "/data/music";
|
||||
fsWatcherEnabled = false;
|
||||
devices = [
|
||||
"thinkman"
|
||||
"workman"
|
||||
"birdman"
|
||||
"newton"
|
||||
];
|
||||
|
@ -67,14 +67,14 @@
|
|||
path = "/data/photos";
|
||||
fsWatcherEnabled = false;
|
||||
devices = [
|
||||
"thinkman"
|
||||
"workman"
|
||||
"newton"
|
||||
];
|
||||
};
|
||||
"Aria2" = {
|
||||
id = "jjnzq-pgzua";
|
||||
path = "/data/tmp/aria2";
|
||||
devices = [ "thinkman" ];
|
||||
devices = [ "workman" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@ in
|
|||
port = 2222;
|
||||
hostKeys = [ "/etc/secrets/initrd/ssh_host_ed25519_key" ];
|
||||
authorizedKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@thinkman"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@workman"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ in
|
|||
group = "nixremote";
|
||||
shell = pkgs.bashInteractive;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGYSzDdxqaNHmaaLqEvOK/vB65zvqoCebI3Nxzgg5smq root@thinkman"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGYSzDdxqaNHmaaLqEvOK/vB65zvqoCebI3Nxzgg5smq root@workman"
|
||||
];
|
||||
};
|
||||
nix.settings.trusted-users = [ "nixremote" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue