50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
../../base.nix
|
|
../../common/metrics-exporters.nix
|
|
./hardware-configuration.nix
|
|
./filesystems.nix
|
|
# ./wireguard.nix
|
|
./exports.nix
|
|
|
|
./services/snappymail.nix
|
|
./services/calibre.nix
|
|
./services/fancontrol.nix
|
|
./services/jellyfin.nix
|
|
./services/kanidm.nix
|
|
./services/nextcloud.nix
|
|
./services/nginx
|
|
./services/postgres.nix
|
|
./services/timemachine.nix
|
|
./services/transmission.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "voyager";
|
|
bridges.br0.interfaces = [ "eno1" ];
|
|
interfaces.br0.useDHCP = false;
|
|
interfaces.br0.ipv4.addresses = [
|
|
{ address = "192.168.10.165"; prefixLength = 24; }
|
|
];
|
|
|
|
hostId = "8e84b235";
|
|
defaultGateway = "192.168.10.1";
|
|
};
|
|
|
|
sops.defaultSopsFile = ../../secrets/voyager/voyager.yaml;
|
|
|
|
environment.variables = { EDITOR = "vim"; };
|
|
environment.systemPackages = with pkgs; [
|
|
zfs
|
|
];
|
|
|
|
virtualisation.docker.enable = true;
|
|
virtualisation.oci-containers.backend = "docker";
|
|
|
|
system.stateVersion = "22.11";
|
|
}
|
|
|