Switch to Hyprland
This commit is contained in:
parent
acdd4d263c
commit
38355d7ba5
29 changed files with 33 additions and 1468 deletions
30
modules/wm/hyprland/default.nix
Normal file
30
modules/wm/hyprland/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf mkOption types;
|
||||
cfg = config.horseman.wm.hyprland;
|
||||
in {
|
||||
options = {
|
||||
horseman.wm.hyprland = {
|
||||
enable = mkEnableOption "HyprLand";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
security.polkit.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
xdg-desktop-portal-hyprland
|
||||
nerdfonts
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue