depot/hosts/soda/system.nix

31 lines
662 B
Nix

{ config, depot, ... }:
{
imports = with depot.nixosModules; [
containerBase
fail2ban
depot.inputs.agenix.nixosModules.age
./soda.nix
];
boot.isContainer = true;
networking.useDHCP = false;
networking.interfaces.${config.reflection.interfaces.primary.link}.useDHCP = true;
networking.nameservers = [ depot.hours.VEGAS.interfaces.vstub.addr ];
networking.resolvconf.extraConfig = "local_nameservers='${depot.hours.VEGAS.interfaces.vstub.addr}'";
networking.hostName = "soda";
time.timeZone = "Europe/Helsinki";
i18n.defaultLocale = "en_US.UTF-8";
services.openssh.enable = true;
system.stateVersion = "21.11";
}