Sure, here's a tutorial on how to install Pastefy on nixOS Latest:

  1. First, open up a terminal or SSH into your nixOS machine.

  2. Next, add the Pastefy channel to your nixOS configuration by running the following command:

    $ sudo nix-channel --add https://github.com/pastefy/nixpkgs/archive/master.tar.gz pastefy
    $ sudo nix-channel --update
    
  3. Once you have added the Pastefy channel, you can now install the Pastefy package by running the following command:

    $ sudo nix-env -iA nixpkgs.pastefy
    
  4. Finally, start the Pastefy service by running the following command:

    $ sudo systemctl start pastefy
    

    If you want to enable the Pastefy service at startup, you can run this command instead:

    $ sudo systemctl enable pastefy
    

Congratulations, you have successfully installed Pastefy on your nixOS machine. You can access Pastefy by navigating to http://localhost:4000 in your web browser.