mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 20:09:07 +01:00
This reverts commit 0c25e7fd34.
The slightly decreased evaluation time isn't worth the added maintenance burden
42 lines
750 B
Nix
42 lines
750 B
Nix
{
|
|
config,
|
|
osConfig,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
options.custom.de.hyprland.enable = lib.mkEnableOption "" // {
|
|
default = osConfig.custom.de.hyprland.enable;
|
|
};
|
|
|
|
config = lib.mkIf config.custom.de.hyprland.enable {
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
package = null;
|
|
portalPackage = null;
|
|
};
|
|
|
|
home.packages = [
|
|
pkgs.playerctl
|
|
pkgs.grimblast
|
|
];
|
|
|
|
custom = {
|
|
services = {
|
|
wpaperd.enable = true;
|
|
hypridle.enable = true;
|
|
waybar.enable = true;
|
|
cliphist.enable = true;
|
|
};
|
|
|
|
programs = {
|
|
rofi.enable = true;
|
|
hyprlock.enable = true;
|
|
btop.enable = true;
|
|
};
|
|
};
|
|
|
|
services.dunst.enable = true;
|
|
};
|
|
}
|