2024-03-29 17:14:53 +03:00
|
|
|
{ ... }:
|
2023-07-28 17:08:13 +03:00
|
|
|
|
|
|
|
let
|
|
|
|
data = import ../../../data.nix;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./networking.secret.nix # generated at runtime by nixos-infect
|
2024-03-29 17:14:53 +03:00
|
|
|
../../shared/kernel.nix
|
|
|
|
../../shared/headless.nix
|
2023-07-28 17:08:13 +03:00
|
|
|
|
|
|
|
../../modules/nix.nix
|
|
|
|
../../shared/common.nix
|
2023-08-01 13:06:27 +03:00
|
|
|
../../shared/garbage-collector.nix
|
2023-07-28 17:08:13 +03:00
|
|
|
../../shared/fail2ban
|
|
|
|
|
|
|
|
./services/wireguard.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
networking.hostName = "istal";
|
|
|
|
networking.domain = "local";
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = data.publicKeys.users.janistal;
|
|
|
|
}
|