pinwheel: Extract ssh module

This commit is contained in:
Alexander Heldt
2023-08-19 10:54:22 +02:00
parent 99c268c651
commit 432662a27f
3 changed files with 54 additions and 41 deletions

View File

@@ -9,6 +9,7 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./modules/age
./modules/ssh
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
@@ -210,30 +211,6 @@
secrets = {
"syncthing-cert".file = ../../secrets/pinwheel/syncthing-cert.age;
"syncthing-key".file = ../../secrets/pinwheel/syncthing-key.age;
"alex.pinwheel-sombrero" = {
file = ../../secrets/pinwheel/alex.pinwheel-sombrero.age;
path = "/home/alex/.ssh/alex.pinwheel-sombrero";
owner = "alex";
group = "users";
};
"alex.pinwheel-sombrero.pub" = {
file = ../../secrets/pinwheel/alex.pinwheel-sombrero.pub.age;
path = "/home/alex/.ssh/alex.pinwheel-sombrero.pub";
owner = "alex";
group = "users";
};
"alex.pinwheel-github.com" = {
file = ../../secrets/pinwheel/alex.pinwheel-github.com.age;
path = "/home/alex/.ssh/alex.pinwheel-github.com";
owner = "alex";
group = "users";
};
"alex.pinwheel-github.com.pub" = {
file = ../../secrets/pinwheel/alex.pinwheel-github.com.pub.age;
path = "/home/alex/.ssh/alex.pinwheel-github.com.pub";
owner = "alex";
group = "users";
};
};
};