From e8077fde966e051fc449fffcfa061c7f7edc47b0 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 14 Apr 2025 19:01:38 -0700 Subject: migration: finalize --- modules/home/desktop/components/picom/default.nix | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 modules/home/desktop/components/picom/default.nix (limited to 'modules/home/desktop/components/picom/default.nix') diff --git a/modules/home/desktop/components/picom/default.nix b/modules/home/desktop/components/picom/default.nix new file mode 100644 index 0000000..698e06c --- /dev/null +++ b/modules/home/desktop/components/picom/default.nix @@ -0,0 +1,30 @@ +{ options, config, lib, namespace, ... }: + +with lib; with lib.${namespace}; let + cfg = config.${namespace}.desktop.components.picom; +in { + options.${namespace}.desktop.components.picom = with types; { + enable = mkEnableOption "picom"; + }; + + config = mkIf cfg.enable { + services.picom = { + enable = true; + + backend = "glx"; + vSync = true; + + settings = { + blur = { + method = "gaussian"; + size = 10; + deviation = 2; + }; + + blur-background-exclude = [ + "window_type = 'dock'" + ]; + }; + }; + }; +} -- cgit v1.2.3