mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Remove virtualisation module
This commit is contained in:
parent
097cf795fc
commit
e7cdd49bcf
6 changed files with 2 additions and 39 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
config = lib.mkIf config.custom.programs.shell.zsh.enable {
|
config = lib.mkIf config.custom.programs.shell.zsh.enable {
|
||||||
custom.programs.shell.aliases.enable = true;
|
custom.programs.shell.aliases.enable = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -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" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -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;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -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"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue