Initial commit

This commit is contained in:
Aleksandr 2024-09-22 11:34:06 +03:00
commit 5648fe3686
31 changed files with 827 additions and 0 deletions

15
m/hypr.nix Normal file
View file

@ -0,0 +1,15 @@
{ lib, config, inputs, pkgs, ... }:
let
hypr = config.maid.hypr;
in
{
options.maid.hypr = {
enable = lib.mkEnableOption "hyprland";
};
config.programs.hyprland = lib.mkIf hypr.enable {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
}