2024-11-30 21:58:58 +01:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
# contains your disk format and partitioning configuration.
|
|
|
|
../../modules/disko.nix
|
|
|
|
# this file is shared among all machines
|
|
|
|
../../modules/shared.nix
|
|
|
|
# enables GNOME desktop (optional)
|
2024-12-01 03:34:59 +01:00
|
|
|
/* ../../modules/gnome.nix */
|
2024-11-30 21:58:58 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
# This is your user login name.
|
|
|
|
users.users.user.name = "pbsds";
|
|
|
|
|
|
|
|
# Set this for clan commands use ssh i.e. `clan machines update`
|
2024-12-01 03:34:59 +01:00
|
|
|
clan.core.networking.targetHost = "root@129.241.210.149";
|
2024-11-30 21:58:58 +01:00
|
|
|
# ssh root@<IP> lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT
|
|
|
|
disko.devices.disk.main.device = "/dev/disk/by-id/wwn-0x50026b7785c5ed67";
|
|
|
|
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
2024-12-01 03:34:59 +01:00
|
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC+qv5MogWwOgctQfQeHxUHF2ij6UA8BR4DLXtZClnw6A1CtOjAtZeAW62C8q9OKaIKDO0hqd2vLBkgEno4smqBDJ2ThwKuXrhiHqJzCkXZqIKKx79mpTo7aRpFgkJ7328Ee+tbqa65coL98WRhLnDg69NDaOfSCmH85/D0kuyTG7mYIMdBtFXB/IU0QC9USCSGcUGSnQAEx8S0vaXL7JP043kfEfeqwsea598qX+LFa2UfGwgLBpiWi4QEfYy6fviz2TFkbRYKQImybidzUHZkljjPupqu8U4dIx/jsJM/vew717xZPCU0ZCho77TIU+bYSitD5mjnzuD7LrAdbFgnhkD2sQlD/hUW40kPVT/Tq3DrpDRKC9tniiTaIQV1Pe0k82XwYrvV/hTl8T1ed6TuzhmUggqowAbJRbaBIa1zI672AFFQM8OBIN59ZlLy3V2RZW4fvQk2/xMRdVBT0W5Upx+9rCbH9LCGWL8gNNA/PRJ0L9Ts6cq8kf4tFhFQQrk= pbsds@bjarte"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF4v1+FbiEa6Mohpf3/Una5ahKeKSG9yZ9iU5TC7ddL5 root@bjarte"
|
2024-11-30 21:58:58 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
# Zerotier needs one controller to accept new nodes. Once accepted
|
|
|
|
# the controller can be offline and routing still works.
|
|
|
|
clan.core.networking.zerotier.controller.enable = true;
|
|
|
|
}
|