Refractor to dendritic approach.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{...}: {
|
||||
config.flake.modules.homeManager.hyprland = {
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
options.azos.suites.hyprland.enable = lib.mkOption {
|
||||
default = false;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
config = lib.mkIf config.azos.suites.hyprland.enable {
|
||||
home.packages = with pkgs; [
|
||||
hyprland
|
||||
waybar
|
||||
wofi
|
||||
kitty
|
||||
grim
|
||||
slurp
|
||||
swappy
|
||||
networkmanagerapplet
|
||||
xwayland
|
||||
];
|
||||
azos.emacs.enabledSuites = ["azos-emacs-hyprland"];
|
||||
azos.emacs.pkgs = [pkgs.azos-emacs-hyprland];
|
||||
azos.emacs.emacspkg = pkgs.emacs-pgtk;
|
||||
home.file.".login.sh" = {
|
||||
text = ''
|
||||
#!/usr/bin/env bash
|
||||
${pkgs.hyprland}/bin/Hyprland
|
||||
'';
|
||||
executable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user