From 22d75b8f7baa35a9073f20810f224e36d5fe6a27 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Sun, 3 Nov 2024 18:32:30 +0100 Subject: [PATCH] treewide: add distrobox for mcuxpresso (only way to make it work without losing my mind) --- home/programs/default.nix | 6 +++--- system/services/docker.nix | 11 +++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/home/programs/default.nix b/home/programs/default.nix index 5053a3b..cc3940e 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -39,9 +39,9 @@ nautilus simple-scan entr - inputs.self.packages.${pkgs.system}.mcuxpresso.ide - dfu-util - segger-jlink + # inputs.self.packages.${pkgs.system}.mcuxpresso.ide + # dfu-util + # segger-jlink # inputs.self.packages.${pkgs.system}.mcuxpresso.config-tools ]; } diff --git a/system/services/docker.nix b/system/services/docker.nix index 7d9b22d..36e58a8 100644 --- a/system/services/docker.nix +++ b/system/services/docker.nix @@ -1,9 +1,8 @@ -_: { - virtualisation.docker = { +{pkgs, ...}: { + virtualisation.podman = { enable = true; - rootless = { - enable = true; - setSocketVariable = true; - }; + dockerCompat = true; }; + + environment.systemPackages = [pkgs.distrobox]; }