mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 12:07:29 +01:00
56 lines
1.2 KiB
Nix
56 lines
1.2 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
../../base.nix
|
|
../../common/metrics-exporters.nix
|
|
./filesystems.nix
|
|
./hardware-configuration.nix
|
|
|
|
# Infrastructure
|
|
./backup.nix
|
|
./libvirt.nix
|
|
./services/dyndns.nix
|
|
./services/nginx.nix
|
|
./services/pihole.nix
|
|
./services/postgresql.nix
|
|
./services/wireguard.nix
|
|
|
|
# Services
|
|
./services/flame.nix
|
|
./services/gitea.nix
|
|
./services/hedgedoc.nix
|
|
./services/home-assistant.nix
|
|
./services/keycloak.nix
|
|
./services/koillection.nix
|
|
./services/matrix
|
|
./services/microbin.nix
|
|
# ./services/minecraft.nix
|
|
./services/monitoring
|
|
./services/rtl-tcp.nix
|
|
./services/vaultwarden.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "defiant";
|
|
defaultGateway = "192.168.10.1";
|
|
interfaces.enp3s0.ipv4 = {
|
|
addresses = [
|
|
{ address = "192.168.10.175"; prefixLength = 24; } # Main IP for defiant, internal
|
|
];
|
|
};
|
|
hostId = "8e84f235";
|
|
};
|
|
|
|
sops.defaultSopsFile = ../../secrets/defiant/defiant.yaml;
|
|
|
|
environment.variables = { EDITOR = "vim"; };
|
|
|
|
virtualisation.docker.enable = true;
|
|
virtualisation.oci-containers.backend = "docker";
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|
|
|