Qemu/kvm copy & paste

So I am very new to NixOS as of today and testing it out in a VM in KVM on my Fedora host.
I am trying to get the copy/paste feature working in the VM but, so far, I have been unsuccessful. I have added the following packages to my config:

pkgs.spice
pkgs.spice-vdagent

And added the following services to my config:

services.spice-vdagentd.enable = true;
services.qemuGuest.enable = true;

Am I missing something?
If need be, I can post my complete config.

Also, for my understanding, after I make these changes and run sudo nixos-rebuild switch is there a need to reboot the machine to get the new config to work?
Thanks in advance from a complete noobie.

1 Like