From d4877118693742fc7bea072c8f3813d85fbf6b79 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 24 Feb 2024 20:01:43 +0530 Subject: [PATCH] remove virt-manager and qemu --- common/users/default.nix | 2 +- home/programs/default.nix | 1 - home/programs/virt-manager.nix | 18 ------------------ home/wm/hyprland/default.nix | 4 ---- hosts/skipper/persistence.nix | 1 - hosts/skipper/virtualisation.nix | 11 ----------- 6 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 home/programs/virt-manager.nix diff --git a/common/users/default.nix b/common/users/default.nix index 069991f..1b05108 100644 --- a/common/users/default.nix +++ b/common/users/default.nix @@ -16,7 +16,7 @@ in inherit (users.primary) hashedPassword; description = users.primary.realName; isNormalUser = true; - extraGroups = [ "docker" "libvirtd" "networkmanager" "tss" "wheel" ]; + extraGroups = [ "docker" "networkmanager" "tss" "wheel" ]; shell = pkgs.zsh; openssh.authorizedKeys.keys = [ users.primary.sshPublicKey diff --git a/home/programs/default.nix b/home/programs/default.nix index 48d5c6d..3682baa 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -15,7 +15,6 @@ ./ssh.nix ./starship.nix ./tmux.nix - ./virt-manager.nix ./yt-dlp.nix ./zsh.nix ]; diff --git a/home/programs/virt-manager.nix b/home/programs/virt-manager.nix deleted file mode 100644 index a235947..0000000 --- a/home/programs/virt-manager.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ pkgs, ... }: { - home.packages = [ pkgs.virt-manager ]; - dconf.settings = { - "org/virt-manager/virt-manager/confirm" = { - forcepoweroff = false; - }; - "org/virt-manager/virt-manager/connections" = { - autoconnect = [ "qemu:///system" ]; - uris = [ "qemu:///system" ]; - }; - "org/virt-manager/virt-manager/new-vm" = { firmware = "uefi"; }; - "org/virt-manager/virt-manager/stats" = { - enable-disk-poll = true; - enable-net-poll = true; - }; - "org/virt-manager/virt-manager/vmlist-fields" = { network-traffic = true; }; - }; -} diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index 77a1ef5..ce6b562 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -130,10 +130,6 @@ in "center,class:^(gnome-system-monitor)$" "size 60% 50%,class:^(gnome-system-monitor)$" - "float,class:^(virt-manager)$" - "size 25% 50%,class:^(virt-manager)$,title:^(Virtual Machine Manager)$" - "move 5%% 10%,class:^(virt-manager)$,title:^(Virtual Machine Manager)$" - "float,class:^(.yubioath-flutter-wrapped_)$" "center,class:^(.yubioath-flutter-wrapped_)$" diff --git a/hosts/skipper/persistence.nix b/hosts/skipper/persistence.nix index 08c69d3..00a58fd 100644 --- a/hosts/skipper/persistence.nix +++ b/hosts/skipper/persistence.nix @@ -12,7 +12,6 @@ _: { "/var/lib/docker" "/var/lib/fwupd" "/var/lib/iwd" - "/var/lib/libvirt" "/var/lib/machines" "/var/lib/NetworkManager" "/var/lib/nixos" diff --git a/hosts/skipper/virtualisation.nix b/hosts/skipper/virtualisation.nix index ac30c5f..4d1ba37 100644 --- a/hosts/skipper/virtualisation.nix +++ b/hosts/skipper/virtualisation.nix @@ -5,16 +5,5 @@ enable = true; storageDriver = "btrfs"; }; - kvmgt.enable = true; - libvirtd = { - enable = true; - qemu = { - package = pkgs.qemu_kvm; - ovmf = { - enable = true; - packages = [ pkgs.OVMFFull.fd ]; - }; - }; - }; }; }