2023-02-24 16:16:15 +02:00
|
|
|
{ depot, ... }:
|
2022-05-28 22:53:03 +03:00
|
|
|
|
|
|
|
{
|
2023-01-31 23:59:53 +02:00
|
|
|
imports = with depot.nixosModules; [
|
|
|
|
containerBase
|
|
|
|
fail2ban
|
2023-06-11 18:05:35 +03:00
|
|
|
depot.inputs.agenix.nixosModules.age
|
2022-05-28 22:53:03 +03:00
|
|
|
./soda.nix
|
2023-01-31 23:59:53 +02:00
|
|
|
];
|
2022-05-28 22:53:03 +03:00
|
|
|
|
|
|
|
boot.isContainer = true;
|
|
|
|
|
|
|
|
networking.useDHCP = false;
|
|
|
|
|
|
|
|
networking.interfaces.eth0.useDHCP = true;
|
|
|
|
|
2023-08-31 01:55:45 +03:00
|
|
|
networking.nameservers = [ depot.hours.VEGAS.interfaces.vstub.addr ];
|
2022-05-28 22:53:03 +03:00
|
|
|
|
2023-08-31 01:55:45 +03:00
|
|
|
networking.resolvconf.extraConfig = "local_nameservers='${depot.hours.VEGAS.interfaces.vstub.addr}'";
|
2022-05-28 22:53:03 +03:00
|
|
|
|
|
|
|
networking.hostName = "soda";
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Helsinki";
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
}
|