add options for blur and shadows

This commit is contained in:
Moritz Böhme 2023-01-11 10:39:29 +01:00
parent c9314498c7
commit 4a528e1f4b
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
2 changed files with 21 additions and 5 deletions

View file

@ -15,6 +15,16 @@ in
options.my.programs.hyprland = {
enable = mkEnableOption "hyprland";
nvidiaSupport = mkEnableOption "enable nvidia Support";
blur = mkOption {
type = types.bool;
description = "enable window blurring";
default = true;
};
shadows = mkOption {
type = types.bool;
description = "enable window shadows";
default = true;
};
};
config = mkIf cfg.enable {