{ config, pkgs, discord, inputs, nixpkgs-nixos-stable-and-unfree
, nixpkgs-nixos-unstable-and-unfree, ... }:
let
  unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system};
  nixpkgs-master = inputs.nixpkgs-master.legacyPackages.${pkgs.system};
in {
  security.chromiumSuidSandbox.enable = true;

  home-manager.users.cyryl = { ... }: {
    gtk = {
      enable = true;
      iconTheme = {
        name = "Adwaita";
        package = pkgs.gnome3.adwaita-icon-theme;
      };
    };
    qt = {
      enable = true;
      platformTheme = "gnome";
      style.name = "adwaita-dark";
      style.package = pkgs.adwaita-qt;
    };

    imports = [ ];

    programs.chromium.enable = true;
    programs.firefox.enable = true;
    home.packages = with pkgs;
      with pkgs.gnome3;
      with pkgs.python38Packages;
      [
        anarchism
        calibre
        cheese
        digikam
        electrum
        element-desktop
        eog
        evince
        fontconfig
        freecad
        ghidra-bin
        gimp
        glxinfo
        gnome-screenshot
        gparted
        inkscape
        kdenlive
        koreader
        krusader
        libreoffice
        mediainfo
        mindforger
        modem-manager-gui
        nautilus
        nyxt
        obs-studio
        openscad
        passff-host
        pdfarranger
        pkgs.gsettings-desktop-schemas
        pkgs.shotwell
        qcad
        qemu
        remmina
        signal-desktop
        simple-scan
        ssb-patchwork
        tlaplusToolbox
        tlaps
        uefitool
        vlc
        winePackages.full
        wireshark
        wsjtx
        xclip
        xidlehook
        yubico-piv-tool
        yubikey-manager-qt
        yubikey-personalization
        yubikey-personalization-gui
      ] ++ (with unstable; [ glaxnimate gnucash kicad thunderbird ]) ++ [
        nixpkgs-nixos-stable-and-unfree.discord
        nixpkgs-nixos-unstable-and-unfree.hopper
      ];
  };
}