depot/hosts/soda/system.nix

31 lines
595 B
Nix
Raw Normal View History

2023-02-24 16:16:15 +02:00
{ depot, ... }:
2022-05-28 22:53:03 +03:00
{
imports = with depot.nixosModules; [
containerBase
fail2ban
sss
2022-05-28 22:53:03 +03:00
./soda.nix
];
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";
}