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