System : Move virt-manager to separate module.

This commit is contained in:
Dmitry Voronin 2024-02-07 20:11:12 +03:00
parent de0c66001f
commit fd3ce84962
4 changed files with 18 additions and 2 deletions

View file

@ -1,5 +1,8 @@
{ {
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }@inputs: { outputs = { self, nixpkgs }@inputs: {
nixosModules.common.imports = [ nixosModules.common.imports = [
./module/common/Bootloader.nix ./module/common/Bootloader.nix
@ -43,6 +46,7 @@
./module/PowersaveAmd.nix ./module/PowersaveAmd.nix
./module/Print.nix ./module/Print.nix
./module/Sshd.nix ./module/Sshd.nix
./module/VirtManager.nix
./module/Voronind.nix ./module/Voronind.nix
]; ];
specialArgs.inputs = inputs; specialArgs.inputs = inputs;

View file

@ -0,0 +1,13 @@
{ pkgs, ... }:
# File (in the menu bar) -> Add connection
#
# HyperVisor = QEMU/KVM
# Autoconnect = checkmark
#
# Connect
{
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
}

View file

@ -31,7 +31,6 @@
testdisk testdisk
tmux tmux
tree tree
virt-manager
wget wget
wl-clipboard wl-clipboard
yt-dlp yt-dlp