30 lines
614 B
Nix
30 lines
614 B
Nix
{ depot, ... }:
|
|
|
|
{
|
|
imports = with depot.nixosModules; [
|
|
containerBase
|
|
fail2ban
|
|
depot.inputs.agenix.nixosModules.age
|
|
./soda.nix
|
|
];
|
|
|
|
boot.isContainer = true;
|
|
|
|
networking.useDHCP = false;
|
|
|
|
networking.interfaces.eth0.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";
|
|
}
|