nixos-config/nixos/machines/orbi/configuration.nix

81 lines
1.6 KiB
Nix
Raw Normal View History

2023-12-09 17:15:50 +01:00
{ lib, config, pkgs, ... }: {
imports = [
2024-02-16 22:21:05 +01:00
#../../system/all/nginx.nix
2023-12-09 17:15:50 +01:00
../../system/all/borg-jobs.nix
../../system/all/defaults.nix
../../system/server/packages.nix
../../components
../../modules
#./disko-config.nix
#./hetzner.nix
./hardware-configuration
2023-12-09 17:15:50 +01:00
# services
2024-02-16 22:21:05 +01:00
#./borg.nix
#./codimd.nix
#./gitea.nix
#./nextcloud.nix
#./packages.nix
#./taskserver.nix
#./vaultwarden.nix
#./nginx.nix
#./nginx-wkd.nix
#./network-tinc.nix
#./network-wireguard.nix
#./media-share.nix
#./media-jellyfin.nix
#./media-syncthing.nix
#./media-transmission.nix
#./media-transmission2.nix
#./media-arr.nix
#./sync-opentracker.nix
#./sync-torrent.nix
2023-12-09 17:15:50 +01:00
#./social-jitsi.nix
# matrix
2024-02-16 22:21:05 +01:00
# ------
#./terranix-dendrite.nix
2023-12-09 17:15:50 +01:00
# logging
2024-02-16 22:21:05 +01:00
#./loki.nix
#./loki-promtail.nix
##./prometheus.nix
#./grafana.nix
2023-12-09 17:15:50 +01:00
./telegraf.nix
2024-02-16 22:21:05 +01:00
#./cache.nix
2023-12-09 17:15:50 +01:00
];
networking.hostName = "orbi";
2024-02-16 22:21:05 +01:00
2023-12-09 17:15:50 +01:00
components.terminal.enable = true;
components.mainUser.enable = true;
components.gui.enable = false;
components.network.enable = true;
components.network.wifi.enable = false;
users.users.root.shell = pkgs.zsh;
security.acme.acceptTerms = true;
security.acme.defaults.email = "contact@ingolf-wagner.de";
sops.defaultSopsFile = ../../secrets/robi.yaml;
2024-02-16 22:21:05 +01:00
2023-12-09 17:15:50 +01:00
services.smartd.enable = true;
2024-02-16 22:21:05 +01:00
boot.tmp.useTmpfs = true; # make /tmp a tmpfs (performance!)
2024-02-24 03:20:01 +01:00
2024-02-16 22:21:05 +01:00
boot.supportedFilesystems = [ "zfs" ];
# head -c4 /dev/urandom | od -A none -t x4
networking.hostId = "5bb982a6";
2024-02-26 09:44:59 +01:00
2024-03-02 12:57:01 +01:00
2023-12-09 17:15:50 +01:00
}