enable distrobox

This commit is contained in:
2026-09-30 19:53:42 +02:00
parent d79713972e
commit bcfada020b
2 changed files with 23 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
namespace,
...
}:
let
cfg = config.${namespace}.distrobox;
in
{
options.${namespace}.distrobox = {
enable = lib.mkEnableOption "Distrobox with a Podman container backend";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.distrobox ];
virtualisation.podman.enable = true;
};
}
@@ -43,7 +43,8 @@ in
programs.linux-wallpaperengine.enable = true; programs.linux-wallpaperengine.enable = true;
system.stateVersion = "26.05"; system.stateVersion = "26.05";
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Define a user account. Don't forget to set a password with ‘passwd’. # Distrobox
my-namespace.distrobox.enable = true;
# Desktops # Desktops
my-namespace.desktop-environment.cinnamon.enable = true; my-namespace.desktop-environment.cinnamon.enable = true;
my-namespace.desktop-environment.xfce.enable = false; my-namespace.desktop-environment.xfce.enable = false;