temporarily return home-manger, working hyprland module
This commit is contained in:
parent
eead8facb0
commit
fbb93a59d4
10 changed files with 406 additions and 200 deletions
|
@ -5,7 +5,6 @@
|
|||
...
|
||||
}: let
|
||||
cfg = config.modules.usrEnv.desktops.hyprland;
|
||||
inherit (config.meta.mainUser) username;
|
||||
# inherit (inputs.hyprsplit.packages.${pkgs.system}) hyprsplit;
|
||||
inherit (lib) mkIf mkDefault;
|
||||
in {
|
||||
|
@ -15,6 +14,7 @@ in {
|
|||
./exec.nix
|
||||
./settings.nix
|
||||
./workspaces.nix
|
||||
./nixos-module.nix
|
||||
];
|
||||
# we disable the default hyprland module
|
||||
disabledModules = ["programs/hyprland.nix"];
|
||||
|
@ -22,8 +22,13 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
package = pkgs.hyprland;
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||
plugins = [
|
||||
pkgs.hyprlandPlugins.hyprsplit
|
||||
# pkgs.hyprlandPlugins.hypr-dynamic-cursors
|
||||
];
|
||||
};
|
||||
# xdg Portal
|
||||
xdg.portal = {
|
||||
|
@ -39,26 +44,5 @@ in {
|
|||
common.default = ["gtk" "hyprland"];
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.${username} = {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = pkgs.hyprland;
|
||||
|
||||
# Split-monitor-workspaces provides awesome-like workspace behaviour
|
||||
plugins = [
|
||||
pkgs.hyprlandPlugins.hyprsplit
|
||||
pkgs.hyprlandPlugins.hypr-dynamic-cursors
|
||||
];
|
||||
|
||||
# Xwayland for X applications
|
||||
xwayland.enable = true;
|
||||
# No idea why I set this
|
||||
systemd = {
|
||||
enable = true;
|
||||
variables = ["--all"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue