From 1bec301c7a8d32a79b7f1c1e32154c9884043dee Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sun, 19 May 2024 18:26:54 +0200 Subject: [PATCH] Add distrobox, docker and waydroid --- hosts/perso-desktop/default.nix | 2 ++ modules/system.nix | 4 ++++ modules/waydroid.nix | 4 ++++ 3 files changed, 10 insertions(+) create mode 100644 modules/waydroid.nix diff --git a/hosts/perso-desktop/default.nix b/hosts/perso-desktop/default.nix index 83901d6..5c92d26 100644 --- a/hosts/perso-desktop/default.nix +++ b/hosts/perso-desktop/default.nix @@ -16,6 +16,8 @@ ../../modules/bluetooth.nix ../../modules/pipewire.nix ../../modules/plymouth.nix + ../../modules/docker.nix + ../../modules/waydroid.nix ../../modules # Import optional configuration diff --git a/modules/system.nix b/modules/system.nix index 6699fd4..8bf4d6e 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -32,6 +32,10 @@ wayland-utils # For wayland-info command glxinfo clinfo + + # distrobox (testing) + distrobox + boxbuddy ]; # Define a user account. Don't forget to set a password with ‘passwd’. diff --git a/modules/waydroid.nix b/modules/waydroid.nix new file mode 100644 index 0000000..3036273 --- /dev/null +++ b/modules/waydroid.nix @@ -0,0 +1,4 @@ +{ config, pkgs, ... }: +{ + virtualisation.waydroid.enable = true; +}