35 lines
677 B
Nix
35 lines
677 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
../../base.nix
|
|
../../common/metrics-exporters.nix
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "defiant";
|
|
defaultGateway = "192.168.10.1";
|
|
interfaces.eno1.ipv4 = {
|
|
addresses = [
|
|
{ address = "192.168.10.175"; prefixLength = 24; }
|
|
];
|
|
};
|
|
hostId = "8e84f235";
|
|
};
|
|
|
|
# sops.defaultSopsFile = ../../secrets/defiant/defiant.yaml;
|
|
|
|
environment.variables = { EDITOR = "vim"; };
|
|
environment.systemPackages = with pkgs; [
|
|
zfs
|
|
];
|
|
|
|
virtualisation.docker.enable = true;
|
|
virtualisation.oci-containers.backend = "docker";
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|
|
|