added distrobox

This commit is contained in:
twoneis 2024-02-08 17:31:51 +01:00
parent 5418af95da
commit 46c795b141
4 changed files with 11 additions and 2 deletions

View file

@ -2,4 +2,5 @@
withNiri = false; withNiri = false;
withGnome = true; withGnome = true;
withVM = false; withVM = false;
withDistrobox = false;
} }

View file

@ -2,4 +2,5 @@
withNiri = false; withNiri = false;
withGnome = true; withGnome = true;
withVM = false; withVM = false;
withDistrobox = true;
} }

View file

@ -4,14 +4,16 @@
{ pkgs, lib, ... }: { { pkgs, lib, ... }: {
options = { options = {
withNiri = with lib; mkEnableOption "Enable niri"; withNiri = with lib; mkEnableOption "Enable Niri";
withGnome = with lib; mkEnableOption "Enable gnome"; withGnome = with lib; mkEnableOption "Enable Gnome";
withVM = with lib; mkEnableOption "Enable VM related configuration"; withVM = with lib; mkEnableOption "Enable VM related configuration";
withDistrobox = with lib; mkEnableOption "Enable Distrobox";
}; };
imports = [ imports = [
./audio.nix ./audio.nix
./containers.nix ./containers.nix
./distrobox.nix
./fonts.nix ./fonts.nix
./gnome ./gnome
./niri ./niri

View file

@ -0,0 +1,5 @@
{ lib, config, pkgs, ... }: lib.mkIf (config.withDistrobox) {
environment.systemPackages = with pkgs; [
distrobox
];
}