27 lines
545 B
Nix
27 lines
545 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
data = import ../../data.nix;
|
|
in
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./networking.secret.nix # generated at runtime by nixos-infect
|
|
|
|
../modules/common.nix
|
|
../modules/fail2ban.nix
|
|
../modules/docker-swarm.nix
|
|
|
|
./services/wireguard.nix
|
|
];
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_6_1;
|
|
|
|
boot.cleanTmpDir = true;
|
|
zramSwap.enable = true;
|
|
|
|
networking.hostName = "canigou";
|
|
|
|
services.openssh.enable = true;
|
|
users.users.root.openssh.authorizedKeys.keys = data.publicKeys.users.jan;
|
|
}
|