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
|
@ -43,7 +43,7 @@ let
|
|||
cfg.modules.darwin.default
|
||||
inputs.home-manager.darwinModules.home-manager
|
||||
{ home-manager = globalCfg name value; }
|
||||
];
|
||||
] ++ optional value.graphical cfg.modules.darwin.graphical;
|
||||
}
|
||||
else
|
||||
{ }
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
shell = "fish";
|
||||
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdsZyY3gu8IGB8MzMnLdh+ClDxQQ2RYG9rkeetIKq8n rafiq";
|
||||
};
|
||||
hosts.darwin.venus = { };
|
||||
hosts.darwin.venus.graphical = true;
|
||||
hosts.nixos = {
|
||||
nemesis = {
|
||||
graphical = true;
|
||||
|
|
|
@ -3,12 +3,15 @@ let
|
|||
inherit (lib.options) mkEnableOption;
|
||||
in
|
||||
{
|
||||
flake.modules.nixos.graphical = {
|
||||
flake.modules = {
|
||||
nixos.graphical = {
|
||||
home-manager.sharedModules = [ { graphical = true; } ];
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
};
|
||||
flake.modules.homeManager.default.options.graphical = mkEnableOption "";
|
||||
homeManager.default.options.graphical = mkEnableOption "";
|
||||
darwin.graphical.home-manager.sharedModules = [ { graphical = true; } ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue