diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-08 13:00:35 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:50 -0700 |
| commit | 1679fced2ecd5d2d2a78e5ccfe747273dbf3f5cb (patch) | |
| tree | 24bf5016b939734cb292d9352bcdbefbe33d1906 /snowfall/modules/home/desktop/components/picom/default.nix | |
| parent | bd43b5fa64235b2145cdeeb7409cd11636e7754e (diff) | |
migration: reclassify some apps as desktop components
Diffstat (limited to 'snowfall/modules/home/desktop/components/picom/default.nix')
| -rw-r--r-- | snowfall/modules/home/desktop/components/picom/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/snowfall/modules/home/desktop/components/picom/default.nix b/snowfall/modules/home/desktop/components/picom/default.nix new file mode 100644 index 0000000..698e06c --- /dev/null +++ b/snowfall/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'" + ]; + }; + }; + }; +} |