{
  inputs,
  config,
  lib,
  mylib,
  pkgs,
  ...
}: rec {
  imports = [
    # Include the results of the hardware scan.
    ./hardware-configuration.nix
    ../modules

    # inputs.musnix.nixosModules.musnix
  ];

  modules = {
    containers = {
      enable = true;

      homeassistant.enable = false;
      stablediffusion.enable = true;
      jellyfin.enable = false;
      fileflows.enable = false;
      sonarr.enable = false;
      radarr.enable = false;
      hydra.enable = false;
      sabnzbd.enable = false;
    };

    systemd-networkd = {
      networks = {
        # This should override the default network 50-ether
        "10-ether-2_5G" = mylib.networking.mkStaticSystemdNetwork {
          interface = "enp8s0";
          ip = ["192.168.86.50/24"];
          router = ["192.168.86.5"];
          nameserver = ["192.168.86.25"];
        };
        # "10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {...};
      };

      wireguard-tunnels = {
        wg0-de-115 = (
          mylib.networking.mkWireguardService
          "wg0-de-115"
          "proton-de-115.key"
          "9+CorlxrTsQR7qjIOVKsEkk8Z7UUS5WT3R1ccF7a0ic="
          "194.126.177.14"
        );

        wg0-lu-16 = (
          mylib.networking.mkWireguardService
          "wg0-lu-16"
          "proton-lu-16.key"
          "asu9KtQoZ3iKwELsDTgjPEiFNcD1XtgGgy3O4CZFg2w="
          "92.223.89.133"
        );

        wg0-kh-8 = (
          mylib.networking.mkWireguardService
          "wg0-kh-8"
          "proton-kh-8.key"
          "D4M0O60wCBf1nYWOmXRfK7IpgG7VBBwQLeWVFLIqFG4="
          "188.215.235.82"
        );

        wg0-ch-70 = (
          mylib.networking.mkWireguardService
          "wg0-ch-70"
          "proton-ch-70.key"
          "17I34jHOMcmI7LKBqxosTfLgwGjO5OKApLcRSPlyymM="
          "185.159.157.13"
        );
      };
    };
  };

  programs.hyprland = {
    enableNvidiaPatches = true;
  };

  # Low latency audio
  # musnix = {
  #   enable = true;
  #   # musnix.soundcardPciId = ;
  # };

  services.xserver = {
    # Configure keymap in X11
    layout = "us";
    xkbVariant = "altgr-intl";

    videoDrivers = ["nvidia"]; # NVIDIA
    # videoDrivers = ["amdgpu"];
  };
}
