nixos-config/hosts/voyager/configuration.nix

58 lines
1.3 KiB
Nix
Raw Normal View History

2023-04-15 20:44:47 +02:00
{ config, pkgs, ... }:
{
imports =
[
2023-04-22 16:49:04 +02:00
../../base.nix
2023-04-15 20:44:47 +02:00
../../common/metrics-exporters.nix
./hardware-configuration.nix
2024-03-08 01:19:40 +01:00
./backup.nix
2023-04-24 17:08:23 +02:00
./exports.nix
2024-03-08 01:19:40 +01:00
./filesystems.nix
2023-05-09 23:14:31 +02:00
2023-11-16 15:54:54 +01:00
./services/calibre.nix
./services/fancontrol.nix
./services/jellyfin.nix
2024-05-31 16:48:33 +02:00
./services/komga.nix
2024-01-03 02:35:57 +01:00
./services/nextcloud.nix
2023-04-16 16:49:08 +02:00
./services/nginx
./services/podgrab.nix
./services/postgres.nix
2024-05-31 16:48:33 +02:00
./services/snappymail.nix
2023-11-16 15:54:54 +01:00
./services/timemachine.nix
2023-04-16 20:30:31 +02:00
];
2023-04-15 20:44:47 +02:00
networking = {
hostName = "voyager";
2024-01-03 02:35:57 +01:00
bridges.br0.interfaces = [ "eno1" ];
interfaces.br0.useDHCP = false;
interfaces.br0.ipv4.addresses = [
2023-04-16 20:30:31 +02:00
{ address = "192.168.10.165"; prefixLength = 24; }
2024-01-03 02:35:57 +01:00
];
2023-04-15 20:44:47 +02:00
hostId = "8e84b235";
2024-01-03 02:35:57 +01:00
defaultGateway = "192.168.10.1";
2023-04-15 20:44:47 +02:00
};
2023-04-26 12:32:47 +02:00
sops.defaultSopsFile = ../../secrets/voyager/voyager.yaml;
2023-04-15 20:44:47 +02:00
environment.variables = { EDITOR = "vim"; };
environment.systemPackages = with pkgs; [
2023-04-16 16:49:08 +02:00
zfs
2023-04-17 02:23:56 +02:00
];
2023-04-15 20:44:47 +02:00
2023-06-09 00:46:54 +02:00
virtualisation.docker.enable = true;
virtualisation.oci-containers.backend = "docker";
users.users."amalieem" = {
isNormalUser = true;
home = "/home/amalieem";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID7e+BAoXIFmTeeBYAVImQAcyx6SCoYCErA7h16OGL70 amalieem@wentworth"
];
};
2023-04-15 20:44:47 +02:00
system.stateVersion = "22.11";
}