From 28d63a9cafd596e256f88fd3420136a88ef83f18 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Mon, 11 Nov 2024 14:36:39 -0800 Subject: [PATCH] feat: add distrobox module --- hosts/adrastea/default.nix | 1 + modules/linux/distrobox/default.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 modules/linux/distrobox/default.nix diff --git a/hosts/adrastea/default.nix b/hosts/adrastea/default.nix index e4acfc8..a9ce515 100644 --- a/hosts/adrastea/default.nix +++ b/hosts/adrastea/default.nix @@ -17,6 +17,7 @@ ../../modules/linux/audio-prod ../../modules/linux/wine ../../modules/linux/stylix + ../../modules/linux/distrobox ../../overlays { home-manager.useGlobalPkgs = true; diff --git a/modules/linux/distrobox/default.nix b/modules/linux/distrobox/default.nix new file mode 100644 index 0000000..4b63a5c --- /dev/null +++ b/modules/linux/distrobox/default.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: +{ + virtualisation.podman = { + enable = true; + dockerCompat = true; + }; + + environment.systemPackages = [ pkgs.distrobox ]; +}