{
  self,
  pkgs,
  lib,
  inputs,
  ...
}:
{
  nix = {
    settings = {
      auto-optimise-store = true;
      experimental-features = [
        "nix-command"
        "flakes"
      ];
      # substituters = [ "" ];
      # trusted-public-keys = [ "" ];
    };
    gc = {
      automatic = true;
      dates = "weekly";
      options = "--delete-older-than 7d";
    };
  };

  # nixpkgs = {
  #   overlays = [
  #     self.overlays.default
  #     inputs.nur.overlay
  #   ];
  # };

  nixpkgs.config = {
    allowUnfree = true;
    permittedInsecurePackages = [
      "jitsi-meet-1.0.8043"
      "olm-3.2.16"
    ];
    overlays = [
      self.overlays.default
      inputs.nur.overlay
    ];
  };

  # powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";

  i18n.defaultLocale = "en_US.UTF-8";
  i18n.supportedLocales = [
    "en_US.UTF-8/UTF-8"
    "ja_JP.UTF-8/UTF-8"
  ];

  # Font packages
  environment.systemPackages = with pkgs; [
    noto-fonts-cjk-sans
    noto-fonts-cjk-serif
    ipaexfont
  ];

  time.timeZone = "Europe/Amsterdam";
  system.stateVersion = "24.05";
}
