26 lines
564 B
Nix
26 lines
564 B
Nix
{ ... }:
|
|
|
|
let
|
|
data = import ../../../data.nix;
|
|
in
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./networking.secret.nix # generated at runtime by nixos-infect
|
|
../../shared/kernel.nix
|
|
../../shared/headless.nix
|
|
|
|
../../modules/nix.nix
|
|
../../shared/common.nix
|
|
../../shared/garbage-collector.nix
|
|
../../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;
|
|
}
|