feat(graphical): Enable graphical modules for darwin and nixos
This commit is contained in:
parent
26e21a4edd
commit
b085f92226
3 changed files with 11 additions and 8 deletions
|
@ -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 "";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue