feat(desktop): move window-manager config to homes and use home-manager modules
This commit is contained in:
parent
a04688d17b
commit
9167a54ace
12 changed files with 99 additions and 86 deletions
|
@ -11,15 +11,7 @@ let
|
|||
inherit (lib) mkMerge mkIf mkEnableOption;
|
||||
in
|
||||
{
|
||||
options.desktop = {
|
||||
wayland.enableUtils = mkEnableOption "common Wayland utilities";
|
||||
};
|
||||
config = mkIf upstreamCfg.enable (mkMerge [
|
||||
(mkIf cfg.wayland.enableUtils {
|
||||
home.packages = with pkgs; [
|
||||
wl-clipboard-rs
|
||||
];
|
||||
})
|
||||
(lib.mkIf (osConfig.hardware.gpu == "nvidia") {
|
||||
home.packages = [ pkgs.stable-diffusion-webui.forge.cuda ];
|
||||
home.persistence."/persist/home/${config.snowfallorg.user.name}".directories = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue