mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-07 02:06:34 +05:30
initial commit
This commit is contained in:
11
modules/nixos/virtualisation/qemu.nix
Executable file
11
modules/nixos/virtualisation/qemu.nix
Executable file
@ -0,0 +1,11 @@
|
||||
{ pkgs, username, ... }: {
|
||||
virtualisation = {
|
||||
libvirtd.enable = true;
|
||||
};
|
||||
|
||||
users.users.${username}.extraGroups = [ "libvirtd" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
virt-manager
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user