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