mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 09:48:30 +02:00
feat: add tcpdump, update comments
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
strace # system call monitoring
|
strace # system call monitoring
|
||||||
ltrace # library call monitoring
|
ltrace # library call monitoring
|
||||||
bpftrace # powerful tracing tool
|
bpftrace # powerful tracing tool
|
||||||
|
tcpdump # network sniffer
|
||||||
lsof # list open files
|
lsof # list open files
|
||||||
|
|
||||||
# system tools
|
# system tools
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
};
|
};
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
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
|
virt-manager
|
||||||
|
|
||||||
# QEMU/KVM, provides:
|
# QEMU/KVM, provides:
|
||||||
@@ -42,10 +42,4 @@
|
|||||||
# Enable nested virsualization, required by security containers and nested vm.
|
# Enable nested virsualization, required by security containers and nested vm.
|
||||||
boot.extraModprobeConfig = "options kvm_intel nested=1"; # for intel cpu
|
boot.extraModprobeConfig = "options kvm_intel nested=1"; # for intel cpu
|
||||||
# boot.extraModprobeConfig = "options kvm_amd nested=1"; # for amd 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;
|
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user