System : Move virt-manager to separate module.
This commit is contained in:
parent
de0c66001f
commit
fd3ce84962
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }@inputs: {
|
||||
nixosModules.common.imports = [
|
||||
./module/common/Bootloader.nix
|
||||
|
@ -43,6 +46,7 @@
|
|||
./module/PowersaveAmd.nix
|
||||
./module/Print.nix
|
||||
./module/Sshd.nix
|
||||
./module/VirtManager.nix
|
||||
./module/Voronind.nix
|
||||
];
|
||||
specialArgs.inputs = inputs;
|
||||
|
|
13
.config/linux/system/module/VirtManager.nix
Normal file
13
.config/linux/system/module/VirtManager.nix
Normal 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;
|
||||
}
|
|
@ -31,7 +31,6 @@
|
|||
testdisk
|
||||
tmux
|
||||
tree
|
||||
virt-manager
|
||||
wget
|
||||
wl-clipboard
|
||||
yt-dlp
|
||||
|
|
Reference in a new issue