🚀 add virtualisation
This commit is contained in:
parent
a34c9e4ef5
commit
58619df8ae
2 changed files with 18 additions and 1 deletions
|
@ -1,7 +1,14 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ 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 = {
|
home-manager.users.moritz = {
|
||||||
services.nextcloud-client = {
|
services.nextcloud-client = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
10
modules/desktop/apps/virtualisation.nix
Normal file
10
modules/desktop/apps/virtualisation.nix
Normal 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" ];
|
||||||
|
}
|
Loading…
Reference in a new issue