wireshark
This commit is contained in:
parent
4960ed0866
commit
8d7f778b65
3 changed files with 18 additions and 7 deletions
|
@ -62,7 +62,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Global Packages
|
# Global Packages
|
||||||
environment.systemPackages = with pkgs; [ wireguard-tools sbctl podman-compose ];
|
environment.systemPackages = with pkgs; [ wireguard-tools sbctl ]; # ++ (if config.virtualisation.podman.enable then [ pkgs.podman-compose ] else []);
|
||||||
|
|
||||||
# programs.virt-manager = {
|
# programs.virt-manager = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
podman.enable = true;
|
podman.enable = lib.mkDefault true;
|
||||||
libvirtd = {
|
libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
qemu.package = pkgs.qemu_kvm;
|
qemu.package = pkgs.qemu_kvm;
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-z
|
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-z
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
|
./uni.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -15,11 +16,6 @@
|
||||||
isLaptop = true;
|
isLaptop = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.wireshark.enable = true;
|
|
||||||
users.extraUsers.vivian.extraGroups = [ "wireshark" ];
|
|
||||||
|
|
||||||
virtualisation.lxc.enable = true;
|
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot = {
|
boot = {
|
||||||
bootspec.enable = true;
|
bootspec.enable = true;
|
||||||
|
|
15
hosts/thalassa/aoife/uni.nix
Normal file
15
hosts/thalassa/aoife/uni.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Config options needed for various university courses, such as:
|
||||||
|
# * Wireless IoT and Local Area Networks
|
||||||
|
# * Network Security
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [ docker-compose ];
|
||||||
|
|
||||||
|
programs.wireshark.enable = true;
|
||||||
|
programs.wireshark.package = pkgs.wireshark;
|
||||||
|
users.extraUsers.vivian.extraGroups = [ "wireshark" "docker" ];
|
||||||
|
|
||||||
|
virtualisation.lxc.enable = true;
|
||||||
|
virtualisation.podman.enable = false;
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
|
virtualisation.docker.storageDriver = "btrfs";
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue