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;
|
||||
withGnome = true;
|
||||
withVM = false;
|
||||
withDistrobox = false;
|
||||
}
|
||||
|
|
|
@ -2,4 +2,5 @@
|
|||
withNiri = false;
|
||||
withGnome = true;
|
||||
withVM = false;
|
||||
withDistrobox = true;
|
||||
}
|
||||
|
|
|
@ -4,14 +4,16 @@
|
|||
|
||||
{ pkgs, lib, ... }: {
|
||||
options = {
|
||||
withNiri = with lib; mkEnableOption "Enable niri";
|
||||
withGnome = with lib; mkEnableOption "Enable gnome";
|
||||
withNiri = with lib; mkEnableOption "Enable Niri";
|
||||
withGnome = with lib; mkEnableOption "Enable Gnome";
|
||||
withVM = with lib; mkEnableOption "Enable VM related configuration";
|
||||
withDistrobox = with lib; mkEnableOption "Enable Distrobox";
|
||||
};
|
||||
|
||||
imports = [
|
||||
./audio.nix
|
||||
./containers.nix
|
||||
./distrobox.nix
|
||||
./fonts.nix
|
||||
./gnome
|
||||
./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
Add a link
Reference in a new issue