diff --git a/nix/niri.nix b/nix/niri.nix index b6ba132a..e41a5d97 100644 --- a/nix/niri.nix +++ b/nix/niri.nix @@ -90,9 +90,15 @@ in { }) (lib.mkIf cfg.niri.enableSpawn { - spawn-at-startup = [ - {command = ["dms" "run"];} - ]; + spawn-at-startup = + [ + {command = ["dms" "run"];} + ] + ++ lib.optionals cfg.enableClipboard [ + { + command = ["wl-paste" "--watch" "cliphist" "store"]; + } + ]; }) ]; };