2022-04-27 00:21:19 +02:00
|
|
|
{ self, ... }: {
|
2022-01-24 11:14:34 +01:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../users/root
|
|
|
|
../../users/erwin
|
|
|
|
];
|
|
|
|
|
|
|
|
eboskma = {
|
2022-07-29 09:59:44 +02:00
|
|
|
users.erwin.enable = true;
|
2022-01-24 11:14:34 +01:00
|
|
|
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-04-27 00:21:19 +02: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-04-27 00:21:19 +02:00
|
|
|
sops.secrets = { };
|
2022-01-24 11:14:34 +01:00
|
|
|
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
}
|