From c6d62340ccdb53f7cb06e770599e99c68101fb1f Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 27 Sep 2023 19:01:51 +0200 Subject: [PATCH 1/2] docs/quickstart: fix typo --- docs/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From bba01a5a80c58094c6ff93d4c8cf9107921ce088 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 27 Sep 2023 19:02:03 +0200 Subject: [PATCH 2/2] clan-cli: add desktop item --- pkgs/clan-cli/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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" ]; + }) + ]; }