2024-06-25 20:36:03 +02:00
|
|
|
{ config, ... }:
|
2023-12-11 13:34:14 +01:00
|
|
|
{
|
|
|
|
imports = [
|
2023-12-13 14:02:22 +01:00
|
|
|
./home.nix
|
2023-12-11 13:34:14 +01:00
|
|
|
./other.nix
|
2023-12-13 14:02:22 +01:00
|
|
|
./pvv.nix
|
2023-12-11 13:34:14 +01:00
|
|
|
];
|
2024-06-25 20:36:03 +02:00
|
|
|
|
2024-07-08 15:02:54 +02:00
|
|
|
sops.secrets."ssh/secret-config" = {
|
2024-06-25 20:36:03 +02:00
|
|
|
mode = "0444";
|
|
|
|
};
|
|
|
|
|
2024-11-19 10:42:23 +01:00
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
includes = [
|
|
|
|
config.sops.secrets."ssh/secret-config".path
|
|
|
|
"mutable_config"
|
|
|
|
];
|
|
|
|
};
|
2023-12-11 13:34:14 +01:00
|
|
|
}
|