Started working on hyprland

This commit is contained in:
Kyler Olsen 2025-05-07 17:27:18 -06:00
parent fbcd84f79f
commit 3446cc2781
2 changed files with 29 additions and 0 deletions

View File

@ -4,6 +4,7 @@
imports = imports =
[ [
../hardware-configuration.nix ../hardware-configuration.nix
./hyprland.nix
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;

28
sys/hyprland.nix Normal file
View File

@ -0,0 +1,28 @@
{ pkgs, ... }:
{
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
hardware = {
opengl.enable = true;
};
environment.systemPackages = with pkgs; [
(waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
})
)
dunst
libnotify
kitty
wofi
];
}