system/nixos/hosts/istal/default.nix

27 lines
564 B
Nix
Raw Normal View History

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
../../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;
}