nixos-config/profiles/workspace/copyq.nix

20 lines
469 B
Nix

{ config, pkgs, ... }: {
environment.systemPackages = [ pkgs.copyq ];
home-manager.users.balsoft = {
wayland.windowManager.sway.config = {
window.commands = [
{
criteria = { title = ".*CopyQ"; };
command = "floating enable";
}
{
criteria = { title = ".*CopyQ"; };
command = "move position mouse";
}
];
startup = [{ command = "${pkgs.copyq}/bin/copyq"; }];
};
};
}