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

@ -9,7 +9,7 @@
config = lib.mkIf config.custom.programs.shell.zsh.enable {
custom.programs.shell.aliases.enable = true;
programs = {
zsh = {
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;
};
}