enable distrobox
This commit is contained in:
@@ -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;
|
||||
system.stateVersion = "26.05";
|
||||
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
|
||||
my-namespace.desktop-environment.cinnamon.enable = true;
|
||||
my-namespace.desktop-environment.xfce.enable = false;
|
||||
|
||||
Reference in New Issue
Block a user