diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-07 22:07:51 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:49 -0700 |
| commit | b0478a9dc9121d083e5f568fed203ac9a74e1830 (patch) | |
| tree | ea729e627a7b6d99c123d3d0791d881b9a72314a /snowfall/modules/home/apps | |
| parent | 78c444ec5e47ac383f1053a208fc7b46113eadfa (diff) | |
migration: picom
Diffstat (limited to 'snowfall/modules/home/apps')
| -rw-r--r-- | snowfall/modules/home/apps/picom/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/snowfall/modules/home/apps/picom/default.nix b/snowfall/modules/home/apps/picom/default.nix new file mode 100644 index 0000000..0aac934 --- /dev/null +++ b/snowfall/modules/home/apps/picom/default.nix @@ -0,0 +1,32 @@ +{ options, config, lib, namespace, ... }: + +#TODO: move somewhere else +# most likely will move several things into modules/desktop/components or similar +with lib; with lib.${namespace}; let + cfg = config.${namespace}.apps.picom; +in { + options.${namespace}.apps.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'" + ]; + }; + }; + }; +} |