feat(graphical): Enable graphical modules for darwin and nixos

This commit is contained in:
Mohammad Rafiq 2025-07-14 01:37:51 +08:00
parent 26e21a4edd
commit b085f92226
No known key found for this signature in database
3 changed files with 11 additions and 8 deletions

View file

@ -3,12 +3,15 @@ let
inherit (lib.options) mkEnableOption;
in
{
flake.modules.nixos.graphical = {
home-manager.sharedModules = [ { graphical = true; } ];
services.pipewire = {
enable = true;
pulse.enable = true;
flake.modules = {
nixos.graphical = {
home-manager.sharedModules = [ { graphical = true; } ];
services.pipewire = {
enable = true;
pulse.enable = true;
};
};
homeManager.default.options.graphical = mkEnableOption "";
darwin.graphical.home-manager.sharedModules = [ { graphical = true; } ];
};
flake.modules.homeManager.default.options.graphical = mkEnableOption "";
}