Initial commit

This commit is contained in:
Aleksandr 2024-09-22 11:34:06 +03:00
commit ab22fcb51f
35 changed files with 1192 additions and 0 deletions

33
m/hypr.nix Normal file
View file

@ -0,0 +1,33 @@
{ lib, config, inputs, pkgs, ... }:
let
hypr = config.maid.hypr;
in
{
options.maid.hypr = {
enable = lib.mkEnableOption "hyprland";
};
config = lib.mkIf hypr.enable {
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
environment.systemPackages = with pkgs; [
dunst
waybar
wofi
];
environment.sessionVariables.NIXOS_OZONE_WL = "1";
fonts.packages = with pkgs; [
font-awesome_5
];
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita-dark";
};
};
}