From 7ce3e9a3918eb3c03ffb388aa64cb498c4b2c583 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 3 Aug 2023 23:36:15 +0800 Subject: [PATCH] feat: add tcpdump, update comments --- home/linux/base/system-tools.nix | 1 + modules/nixos/libvirt.nix | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/home/linux/base/system-tools.nix b/home/linux/base/system-tools.nix index 7c3aea23..9d844e5a 100644 --- a/home/linux/base/system-tools.nix +++ b/home/linux/base/system-tools.nix @@ -18,6 +18,7 @@ strace # system call monitoring ltrace # library call monitoring bpftrace # powerful tracing tool + tcpdump # network sniffer lsof # list open files # system tools diff --git a/modules/nixos/libvirt.nix b/modules/nixos/libvirt.nix index d6c1a45b..03e47fe9 100644 --- a/modules/nixos/libvirt.nix +++ b/modules/nixos/libvirt.nix @@ -19,7 +19,7 @@ }; programs.dconf.enable = true; environment.systemPackages = with pkgs; [ - # Need to add [File (in the menu bar) -> Add connection] after start the first time + # Need to add [File (in the menu bar) -> Add connection] when start for the first time virt-manager # QEMU/KVM, provides: @@ -42,10 +42,4 @@ # Enable nested virsualization, required by security containers and nested vm. boot.extraModprobeConfig = "options kvm_intel nested=1"; # for intel cpu # boot.extraModprobeConfig = "options kvm_amd nested=1"; # for amd cpu - - # NixOS VM should enable this: - # services.qemuGuest = { - # enable = true; - # package = pkgs.qemu_kvm.ga; - # }; }