From 6181236775ef1d77bce3c70b02b822a36f3137a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 9 Oct 2023 10:08:42 +0200 Subject: Update and tweak style --- nixos/modules/develop.nix | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) (limited to 'nixos/modules/develop.nix') diff --git a/nixos/modules/develop.nix b/nixos/modules/develop.nix index 6cd7645..bd8d43d 100644 --- a/nixos/modules/develop.nix +++ b/nixos/modules/develop.nix @@ -77,14 +77,8 @@ with lib; { geckodriver chromedriver - # Lua - (lua5_1.withPackages (luapkgs: - with luapkgs; [ - luacheck - ])) - - # Ansible - ansible + # Julia + julia # Qemmu qemu @@ -96,7 +90,6 @@ with lib; { tftp-hpa # Network - iperf2 iperf3 wireshark inetutils @@ -137,19 +130,17 @@ with lib; { SUBSYSTEMS=="usb", ATTRS{idVendor}=="1366", ATTRS{idProduct}=="0105", MODE:="0660", GROUP="develop", SYMLINK+="jlink_%n" ''; - virtualisation.containers = { - enable = true; - }; - virtualisation.docker = { - enable = true; - autoPrune.enable = true; - storageDriver = "btrfs"; - }; - virtualisation.lxd = { - enable = true; - recommendedSysctlSettings = true; - }; virtualisation = { + containers.enable = true; + docker = { + enable = true; + autoPrune.enable = true; + storageDriver = "btrfs"; + }; + lxd = { + enable = true; + recommendedSysctlSettings = true; + }; lxc.enable = true; libvirtd.enable = true; spiceUSBRedirection.enable = true; -- cgit v1.2.3