wip(home): refactor home modules *WILL NOT BUILD*
This commit is contained in:
parent
2033810429
commit
6a591ecbf7
115 changed files with 1028 additions and 791 deletions
36
home/modules/desktop/wayland/compositor/hyprland/default.nix
Normal file
36
home/modules/desktop/wayland/compositor/hyprland/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, config, pkgs, inputs, ... }:
|
||||
let
|
||||
wayland = config.ooknet.wayland;
|
||||
inherit (import ./pkgs {inherit pkgs;}) hyprbrightness hyprvolume;
|
||||
inherit (inputs.ooks-scripts.packages.${pkgs.system}) powermenu zellijmenu;
|
||||
inherit (lib) mkIf;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
# inputs.hyprland.homeManagerModules.default
|
||||
./settings
|
||||
./extras
|
||||
];
|
||||
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
home.packages = [
|
||||
pkgs.hyprpicker
|
||||
hyprvolume
|
||||
hyprbrightness
|
||||
|
||||
# Personal scripts
|
||||
powermenu
|
||||
zellijmenu #TODO: only add if zellij enabled
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
xwayland.enable = true;
|
||||
systemd = {
|
||||
enable = true;
|
||||
variables = ["--all"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue