chore: update

This commit is contained in:
kp2pml30 2026-04-12 22:38:09 +09:00
parent eaccf45596
commit d3790a167b
No known key found for this signature in database
GPG key ID: 1739F9D8BA250D04
27 changed files with 715 additions and 229 deletions

21
nix/qemu.nix Normal file
View file

@ -0,0 +1,21 @@
{ config
, pkgs
, lib
, ...
}:
let
cfg = config.kp2pml30;
in {
options.kp2pml30.qemu = lib.mkEnableOption "";
config = lib.mkIf cfg.qemu {
environment.systemPackages = with pkgs; [
qemu
OVMF
];
virtualisation.libvirtd.enable = true;
users.users.${cfg.username}.extraGroups = [ "libvirtd" ];
};
}