added virtualisation with qemu and virt-manager
also moved virt-manager from home-manager to modules/virtualisation.nix because it doesnt work without qemu so may as well added user blue to group libvirtd
This commit is contained in:
parent
772518df4f
commit
8e4da9d06d
6 changed files with 9 additions and 3 deletions
|
@ -119,6 +119,7 @@
|
||||||
./modules/waydroid.nix
|
./modules/waydroid.nix
|
||||||
./modules/packages.nix
|
./modules/packages.nix
|
||||||
./modules/aagl.nix
|
./modules/aagl.nix
|
||||||
|
./modules/virtualisation.nix
|
||||||
inputs.aagl.nixosModules.default
|
inputs.aagl.nixosModules.default
|
||||||
inputs.lanzaboote.nixosModules.lanzaboote
|
inputs.lanzaboote.nixosModules.lanzaboote
|
||||||
inputs.musnix.nixosModules.musnix
|
inputs.musnix.nixosModules.musnix
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
telegram-desktop # Telegram messenger client
|
telegram-desktop # Telegram messenger client
|
||||||
pavucontrol # Useful audio control GUI
|
pavucontrol # Useful audio control GUI
|
||||||
stable.prismlauncher # Minecraft launcher
|
stable.prismlauncher # Minecraft launcher
|
||||||
virt-manager # QEMU manager
|
|
||||||
bat # cat but with syntax highlighting
|
bat # cat but with syntax highlighting
|
||||||
bc # terminal calculator
|
bc # terminal calculator
|
||||||
wget # download files
|
wget # download files
|
||||||
|
|
|
@ -132,6 +132,7 @@
|
||||||
"wheel"
|
"wheel"
|
||||||
"dialout"
|
"dialout"
|
||||||
"audio"
|
"audio"
|
||||||
|
"libvirtd"
|
||||||
];
|
];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
programs.honkers-railway-launcher.enable = true;
|
programs.honkers-railway-launcher.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,5 @@
|
||||||
pciutils
|
pciutils
|
||||||
dmidecode
|
dmidecode
|
||||||
nixd
|
nixd
|
||||||
qemu
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
6
modules/virtualisation.nix
Normal file
6
modules/virtualisation.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{...}:{
|
||||||
|
virtualisation.libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
programs.virt-manager.enable = true;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue