🚀 add virtualisation

This commit is contained in:
Moritz Böhme 2022-03-30 10:56:25 +02:00
parent a34c9e4ef5
commit 58619df8ae
No known key found for this signature in database
GPG key ID: 213820E2795F5CF5
2 changed files with 18 additions and 1 deletions

View file

@ -1,7 +1,14 @@
{ config, lib, pkgs, ... }:
{
imports = [ ./email.nix ./firefox.nix ./kitty.nix ./rofi ./zathura.nix ];
imports = [
./email.nix
./firefox.nix
./kitty.nix
./rofi
./zathura.nix
./virtualisation.nix
];
home-manager.users.moritz = {
services.nextcloud-client = {
enable = true;

View file

@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
{
virtualisation.libvirtd = {
enable = true;
package = pkgs.stable.libvirt;
};
home-manager.users.moritz.home.packages = with pkgs; [ virt-manager ];
users.users.moritz.extraGroups = [ "libvirtd" ];
}