aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/develop.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/nixos/modules/develop.nix b/nixos/modules/develop.nix
index 54401ef..54db063 100644
--- a/nixos/modules/develop.nix
+++ b/nixos/modules/develop.nix
@@ -67,10 +67,6 @@ in {
# Gtk
glade
- # Containers
- lxc lxd
- docker
-
# Barcode generation
barcode
@@ -92,6 +88,16 @@ in {
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1366", ATTRS{idProduct}=="0105", MODE:="0660", GROUP="develop", SYMLINK+="jlink_%n"
'';
+ virtualisation.docker = {
+ enable = true;
+ autoPrune.enable = true;
+ };
+ virtualisation.lxd = {
+ enable = true;
+ recommendedSysctlSettings = true;
+ };
+ virtualisation.lxc.enable = true;
+
users.groups.develop = { };
users.users.cynerd.extraGroups = [
"docker" "lxd" "develop"