My system configuration via Nix flakes
# Template from https://nix-community.github.io/home-manager/index.xhtml#sec-usage-configuration
{ ... }:
{
  imports = [
    ./pkgs/desktop.nix
    ./pkgs/development.nix
    ./pkgs/rust.nix
  ];

  home.username = "finchie";
  home.homeDirectory = "/home/finchie";

  home.stateVersion = "23.11";
  programs.home-manager.enable = true;

  # Use qemu:///system (root) instead of qemu:///session (user)
  dconf.settings = {
    "org/virt-manager/virt-manager/connections" = {
      autoconnect = [ "qemu:///system" ];
      uris = [ "qemu:///system" ];
    };
  };

  services.gnome-keyring.enable = true;
}