add single-file NixOS aspects

Standalone NixOS modules: ai, bluetooth, dev, fwupd, libvirtd,
networkmanager, podman

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
William 2026-02-06 22:36:37 -03:00
parent 92e16d0032
commit 5247bbda03
7 changed files with 87 additions and 0 deletions

18
aspects/libvirtd.nix Normal file
View file

@ -0,0 +1,18 @@
{ ... }:
{
flake.modules.nixos.libvirtd = { config, lib, pkgs, ... }: {
virtualisation = {
libvirtd.enable = true;
spiceUSBRedirection.enable = true;
};
programs.virt-manager.enable = true;
networking.firewall.trustedInterfaces = [ "virbr0" ];
users.users.user.extraGroups = [
"libvirt"
"libvirtd"
];
};
}