Remove virtualisation module

This commit is contained in:
SebastianStork 2025-06-05 21:58:46 +02:00
parent 097cf795fc
commit e7cdd49bcf
6 changed files with 2 additions and 39 deletions

View file

@ -27,7 +27,6 @@
wifi.enable = true; wifi.enable = true;
bluetooth.enable = true; bluetooth.enable = true;
sound.enable = true; sound.enable = true;
virtualisation.enable = true;
services = { services = {
gc.enable = true; gc.enable = true;

View file

@ -25,7 +25,6 @@
de.hyprland.enable = true; de.hyprland.enable = true;
sound.enable = true; sound.enable = true;
virtualisation.enable = true;
services = { services = {
gc.enable = true; gc.enable = true;

View file

@ -1,13 +0,0 @@
{ config, lib, ... }@moduleArgs:
{
options.custom.programs.virt-manager.enable = lib.mkEnableOption "" // {
default = moduleArgs.osConfig.programs.virt-manager.enable or false;
};
config = lib.mkIf config.custom.programs.virt-manager.enable {
dconf.settings."org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
}

View file

@ -1,18 +0,0 @@
{
config,
pkgs,
lib,
...
}:
{
options.custom.virtualisation.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.virtualisation.enable {
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
environment.systemPackages = [ pkgs.quickemu ];
virtualisation.virtualbox.host.enable = true;
};
}

View file

@ -6,10 +6,6 @@
isNormalUser = true; isNormalUser = true;
description = "Sebastian Stork"; description = "Sebastian Stork";
hashedPasswordFile = config.sops.secrets."seb-password".path; hashedPasswordFile = config.sops.secrets."seb-password".path;
extraGroups = [ extraGroups = [ "wheel" ];
"wheel"
"libvirtd"
"vboxusers"
];
}; };
} }