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
|
|
|
|
sss
|
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-02-24 16:16:15 +02:00
|
|
|
networking.nameservers = [ depot.config.hours.VEGAS.interfaces.vstub.addr ];
|
2022-05-28 22:53:03 +03:00
|
|
|
|
2023-02-24 16:16:15 +02:00
|
|
|
networking.resolvconf.extraConfig = "local_nameservers='${depot.config.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";
|
|
|
|
}
|