nixos-config/machines/chungus/configuration.nix

95 lines
2 KiB
Nix
Raw Normal View History

2024-08-29 03:26:04 +02:00
{
config,
pkgs,
lib,
...
}:
{
2023-04-29 23:29:05 +02:00
imports = [
2024-03-03 10:52:46 +01:00
# todo : remove
../../system/all
2024-03-02 21:19:12 +01:00
./hardware-configuration
2023-04-29 23:29:05 +02:00
./packages.nix
2023-10-20 08:46:57 +02:00
./network-tinc-retiolum.nix # make sure no service is open for this vpn!
2024-05-19 00:20:54 +02:00
./network-tinc.nix
./network-wireguard.nix
2023-05-05 22:33:05 +02:00
./hass-mqtt.nix
2024-05-19 00:20:54 +02:00
./hass-zigbee2mqtt.nix
./hass.nix
2023-04-29 23:29:05 +02:00
2024-06-03 20:01:14 +02:00
# todo: add autotag again
#./taskwarrior-autotag.nix
2023-05-04 20:59:26 +02:00
2023-05-28 22:52:03 +02:00
./media-audiobookshelf.nix
2023-08-03 11:50:39 +02:00
./media-castget.nix
2023-10-20 08:01:09 +02:00
./media-curl.nix
2024-05-19 00:20:54 +02:00
./media-jellyfin.nix
2024-08-06 16:30:47 +02:00
./media-navidrome.nix
2024-05-19 00:20:54 +02:00
./media-share.nix
2024-04-17 10:00:17 +02:00
./media-syncthing.nix
2024-05-19 00:20:54 +02:00
./media-youtube.nix
2023-05-04 20:59:26 +02:00
2024-05-19 00:20:54 +02:00
./telemetry/grafana.nix
2024-05-14 20:02:37 +02:00
./telemetry/telegraf-smart.nix
./telemetry/telegraf.nix
./telemetry/prometheus.nix
2024-05-29 23:36:43 +02:00
./telemetry/loki.nix # todo enable this one again
2023-04-29 23:29:05 +02:00
2024-05-11 00:20:55 +02:00
./sync-rbackup.nix
./sync-syncoid.nix
2023-05-01 21:36:46 +02:00
2024-05-19 00:20:54 +02:00
./service-atuin.nix
./service-forgejo.nix
2024-05-19 00:20:54 +02:00
./service-paperless.nix
./service-s3.nix
#./service-taskwarrior.nix
./service-vault.nix
2024-03-04 19:05:30 +01:00
2024-06-26 00:39:52 +02:00
./zerotier-controller.nix
2024-08-30 12:34:57 +02:00
./topology.nix
2023-04-29 23:29:05 +02:00
];
2023-07-01 00:20:03 +02:00
components.gui.enable = false;
2023-08-25 11:33:25 +02:00
components.mainUser.enable = true;
2023-11-08 09:26:34 +01:00
components.media.tts-server.enable = false;
2023-06-01 11:38:39 +02:00
components.network.enable = true;
components.network.wifi.enable = false;
2023-08-25 11:33:25 +02:00
components.terminal.enable = true;
2023-04-29 23:29:05 +02:00
features.boot.ssh.enable = true;
2024-08-08 16:39:50 +02:00
features.boot.ssh.kernelModules = [ "e1000e" ];
features.boot.tor.enable = true;
telemetry.enable = true;
telemetry.opentelemetry.receiver.endpoint = "0.0.0.0:4317";
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 4317 ];
networking.firewall.interfaces.wg0.allowedUDPPorts = [ 4317 ];
2023-06-01 14:02:57 +02:00
healthchecks.closed.wg0.host = "10.100.0.2";
healthchecks.closed.retiolum.host = "centauri.r";
services.printing.enable = false;
2023-04-29 23:29:05 +02:00
networking.hostName = "chungus";
# nix-shell -p speedtest_cli --run speedtest
#configuration.fireqos = {
# enable = false;
# interface = "enp0s25";
# input = 200000;
# output = 2000;
# balance = false;
#};
2023-12-23 00:11:26 +01:00
system.stateVersion = "23.11";
2023-04-29 23:29:05 +02:00
}