From f9c5ac1050f0cf79b02af3c8d6c4c10751d9528f Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 24 Jan 2024 17:15:55 +0300 Subject: [PATCH] Desktop : Add rootless docker. --- .config/linux/nix/desktop.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/linux/nix/desktop.nix b/.config/linux/nix/desktop.nix index 8e626e4..caf56c8 100644 --- a/.config/linux/nix/desktop.nix +++ b/.config/linux/nix/desktop.nix @@ -125,6 +125,15 @@ wget ]; + # Docker. + virtualisation.docker.enable = true; + # users.extraGroups.docker.members = [ "voronind" ]; + virtualisation.docker.rootless = { + enable = true; + setSocketVariable = true; + }; + + # Systemd services. systemd.services.powersave = { enable = true; description = "AMD Disable Boost";