Install Openshifit-Client - use oc on NixOS

Hello everyone!

I new user with NixOS so forgive me for some mistakes, normally I used my old SO just copy my oc file to /usr/bin/ or /usr/local/bin, but in NixOS don’t work, I don’t know if I need make something different, i try to find in the internet but no success.

How I can use the oc on NixOS?

If someone has the same problem and can help me I appreciate it.

I use(d) the openshift attribute.

Worked well for me, when I still had to work with OKD.

Great @NobbZ !

Worked for me too, but I need to pass my user in login:

oc login --username MyUser --server=

Thank you so much!