Get some home configurations going on

This commit is contained in:
Patrick Menking 2024-09-17 11:40:40 -04:00
parent 86c1af2c53
commit 0844c862e6
7 changed files with 262 additions and 22 deletions

18
modules/hypr/default.nix Normal file
View file

@ -0,0 +1,18 @@
{ inputs, pkgs, lib, config, ...}: {
imports = [./waybar.nix];
options.hypr.enable = lib.mkEnableOption "enables hyprland";
config = lib.mkIf config.hypr.enable {
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
};
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
NIXOS_OZONE_WL = "1";
};
};
}