diff --git a/docs/quickstart.md b/docs/quickstart.md index 6d39b2a1e..9ef023b16 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -122,7 +122,7 @@ Absolutely, let's break down the migration step by step, explaining each action }; }; }; - in { inherit (clan) nixosConfigurations clanInternal; } + in { inherit (clan) nixosConfigurations clanInternals; } ``` - `nixosConfigurations`: Defines NixOS configurations, using Clan Core’s `buildClan` function to manage the machines. diff --git a/pkgs/clan-cli/default.nix b/pkgs/clan-cli/default.nix index 2a8952681..f4516b51b 100644 --- a/pkgs/clan-cli/default.nix +++ b/pkgs/clan-cli/default.nix @@ -25,6 +25,8 @@ , tor , git , nixpkgs +, makeDesktopItem +, copyDesktopItems }: let @@ -101,6 +103,7 @@ python3.pkgs.buildPythonPackage { nativeBuildInputs = [ setuptools installShellFiles + copyDesktopItems ]; propagatedBuildInputs = dependencies; @@ -152,4 +155,13 @@ python3.pkgs.buildPythonPackage { fi ''; meta.mainProgram = "clan"; + desktopItems = [ + (makeDesktopItem { + name = "clan"; + exec = "clan"; + desktopName = "CLan Manager"; + startupWMClass = "clan"; + mimeTypes = [ "x-scheme-handler/clan" ]; + }) + ]; }