NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.08k stars 14.13k forks source link

Rancher Desktop : Provides container management and Kubernetes on the desktop. #196440

Open aarmn opened 2 years ago

aarmn commented 2 years ago

Project description Rancher Desktop is an app that provides container management and Kubernetes on the desktop. It is available for Mac (both on Intel and Apple Silicon), Windows, and Linux.

ic4-y commented 1 year ago

I'd love to see this in nixpkgs as well!

rossabaker commented 9 months ago

I couldn't get it working, but maybe this jumpstarts someone else, at least on Darwin.

rossabaker commented 9 months ago

I think phases was the missing piece. This package is working for me on an M1. I'm not yet sure how to do it without shelling out to hdiutil, and haven't even begun to consider a proper source build, but hopefully this is useful to someone.

rome-user commented 6 months ago

Hi @rossabaker

I am interested in installing the package in your site via home-manager, but I am unsure how to proceed. Can you provide a hint? I failed to find relevant documentation for this.

Thanks


EDIT: I managed to install this package by downloading the snippet to a file rancher.nix then editing my home.nix like so.

{ config, pkgs, ... }:

let
  rancher-desktop = (pkgs.callPackage ./rancher.nix {});
in
{
  home.pkgs = [
    rancher-desktop
    # ...
  ];
  # ...
}

I am not sure if this is the proper way to install, but it seems to work.