{ config, pkgs, inputs, ... }: {

  imports = [ ./shared.nix ];

  # Networking
  networking.wireless.iwd.enable = true;
  networking.networkmanager =  {
    enable = true;
    wifi.backend = "iwd";
  };

  # Enable sound
  security.rtkit.enable = true;
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    alsa.support32Bit = true;
    pulse.enable = true;
    jack.enable = true;
  };

  # Enable the X11 windowing system and i3 window manager.
  environment.pathsToLink = [ "/libexec" ];
  services.xserver = {
    enable = true;

    # Setup i3 window manager
    windowManager.i3 = {
      enable = true;
      extraPackages = with pkgs; [
        rofi
        alacritty
        polybarFull
        i3lock-fancy
        xautolock
        autorandr
        arandr
        xsel
      ];
    };

    # Configure keymap in X11
    xkb = {
      layout = "us";
      variant = "";
      options = "caps:escape";
    };
  };

  # List packages to be installed for headful systems
  #environment.systemPackages = with pkgs; [
  #];

  # Install OpenGL
  hardware.graphics = {
    enable = true;
    enable32Bit = true;
  };

  # Install Thunar
  programs.thunar.enable = true;
  services.gvfs.enable = true;
  services.tumbler.enable = true;
}
