{ pkgs, ... }:

{
  imports = [ ./modules ];

  # Bootloader.
  boot.loader.grub.enable = true;
  boot.loader.grub.device = "/dev/vda";

  permafrost.nyazoom.enable = true;

  networking.hostName = "virtmsi"; # Define your hostname.

  # Allow unfree packages
  nixpkgs.config.allowUnfree = true;
  nix.settings = {
    auto-optimise-store = true;
    experimental-features = [ "nix-command" "flakes" ];

    trusted-users = [
      "ravenshade"
    ];
  };

  # Enable networking
  networking.networkmanager.enable = true;

  # Define a user account. Don't forget to set a password with ‘passwd’.
  users.users.ravenshade = {
    isNormalUser = true;
    description = "Zynh Ludwig";
    extraGroups = [ "networkmanager" "wheel" ];
    packages = with pkgs; [
    ];
  };

  # List packages installed in system profile. To search, run:
  # $ nix search wget
  environment.systemPackages = with pkgs; [
    neovim
    git
    curl
  ];

  system.stateVersion = "24.05";

}