mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add minimal modular setup
This commit is contained in:
commit
e81d8c9be4
19 changed files with 351 additions and 0 deletions
15
modules/nixos/desktop/default.nix
Normal file
15
modules/nixos/desktop/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue