Add minimal modular setup

This commit is contained in:
muon 2024-05-28 15:55:10 +00:00
commit e81d8c9be4
19 changed files with 351 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{ pkgs, lib, config, ... }: {
imports = [
./xorg.nix
./sound.nix
];
options = {
mods.desktop.enable = lib.mkEnableOption "enables sound";
};
config = lib.mkIf config.mods.desktop.enable {
mods.xorg.enable = true;
mods.sound.enable = true;
};
}