refactor(hyprland): move nvidia option > wayland.nvidia/add hyprlands.extras

hyprland extras to serve as place to add hyprecosystem projects
This commit is contained in:
ooks-io 2024-04-01 18:07:43 +13:00
parent ba410aa838
commit 82f539c989
9 changed files with 61 additions and 54 deletions

View file

@ -1,13 +1,14 @@
{ lib, config, pkgs, inputs, ... }:
let
cfg = config.homeModules.desktop.wayland.windowManager.hyprland;
inherit (import ./pkgs {inherit pkgs;}) hyprbrightness hyprvolume hyprkillsession;
inherit (inputs.ooks-scripts.packages.${pkgs.system}) hyprrecord powermenu zellijmenu;
inherit (import ./pkgs {inherit pkgs;}) hyprbrightness hyprvolume;
inherit (inputs.ooks-scripts.packages.${pkgs.system}) powermenu zellijmenu;
in
{
imports = [
inputs.hyprland.homeManagerModules.default
./settings
./extras
];
config = lib.mkIf cfg.enable {
@ -17,15 +18,11 @@ in
};
home.packages = [
inputs.hyprwm-contrib.packages.${pkgs.system}.grimblast
pkgs.hyprshade
pkgs.hyprpicker
hyprvolume
hyprkillsession
hyprbrightness
# Personal scripts
hyprrecord
powermenu
zellijmenu #TODO: only add if zellij enabled
];