added distrobox
This commit is contained in:
parent
5418af95da
commit
46c795b141
4 changed files with 11 additions and 2 deletions
|
@ -2,4 +2,5 @@
|
||||||
withNiri = false;
|
withNiri = false;
|
||||||
withGnome = true;
|
withGnome = true;
|
||||||
withVM = false;
|
withVM = false;
|
||||||
|
withDistrobox = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
withNiri = false;
|
withNiri = false;
|
||||||
withGnome = true;
|
withGnome = true;
|
||||||
withVM = false;
|
withVM = false;
|
||||||
|
withDistrobox = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
5
modules/system/distrobox.nix
Normal file
5
modules/system/distrobox.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ lib, config, pkgs, ... }: lib.mkIf (config.withDistrobox) {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
distrobox
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue