2022-03-01 22:19:03 +01:00
|
|
|
{self, ...}: {
|
2022-01-24 11:14:34 +01:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../users/root
|
|
|
|
../../users/erwin
|
|
|
|
];
|
|
|
|
|
|
|
|
eboskma = {
|
|
|
|
docker.enable = true;
|
|
|
|
nix-common.enable = true;
|
|
|
|
nginx-proxy-manager.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.isContainer = true;
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
|
|
|
|
system.configurationRevision = self.inputs.nixpkgs.lib.mkIf (self ? rev) self.rev;
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "proxy";
|
|
|
|
useDHCP = false;
|
|
|
|
|
|
|
|
interfaces = {
|
|
|
|
eth0 = {
|
2022-03-01 22:19:03 +01:00
|
|
|
ipv4.addresses = [
|
|
|
|
{
|
|
|
|
address = "10.0.0.251";
|
|
|
|
prefixLength = 24;
|
|
|
|
}
|
|
|
|
];
|
2022-01-24 11:14:34 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
defaultGateway = "10.0.0.1";
|
2022-03-01 22:19:03 +01:00
|
|
|
nameservers = ["10.0.0.254"];
|
2022-01-24 11:14:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
environment.noXlibs = true;
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
sops.defaultSopsFile = ./secrets.yaml;
|
2022-03-01 22:19:03 +01:00
|
|
|
sops.secrets = {};
|
2022-01-24 11:14:34 +01:00
|
|
|
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
}
|