mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
thinkpad: reenable all modules
This commit is contained in:
parent
a16bc598a4
commit
a8d2ace6ab
3 changed files with 19 additions and 16 deletions
|
@ -1,7 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
docker = {
|
||||
enable = true;
|
||||
extraOptions = "--iptables=false";
|
||||
};
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
|
@ -15,7 +18,7 @@
|
|||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
# allow libvirts internal network stuff
|
||||
networking.firewall.trustedInterfaces = [ "virbr0" "br0" ];
|
||||
networking.firewall.trustedInterfaces = [ "virbr0" "br0" "docker0" ];
|
||||
programs.virt-manager.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
virt-viewer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue