Merge pull request 'docs/quickstart: fix typo' (#359) from lassulus-stuff into main

This commit is contained in:
clan-bot
2023-09-27 17:10:14 +00:00
2 changed files with 13 additions and 1 deletions

View File

@@ -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 Cores `buildClan` function to manage the machines. - `nixosConfigurations`: Defines NixOS configurations, using Clan Cores `buildClan` function to manage the machines.

View File

@@ -25,6 +25,8 @@
, tor , tor
, git , git
, nixpkgs , nixpkgs
, makeDesktopItem
, copyDesktopItems
}: }:
let let
@@ -101,6 +103,7 @@ python3.pkgs.buildPythonPackage {
nativeBuildInputs = [ nativeBuildInputs = [
setuptools setuptools
installShellFiles installShellFiles
copyDesktopItems
]; ];
propagatedBuildInputs = dependencies; propagatedBuildInputs = dependencies;
@@ -152,4 +155,13 @@ python3.pkgs.buildPythonPackage {
fi fi
''; '';
meta.mainProgram = "clan"; meta.mainProgram = "clan";
desktopItems = [
(makeDesktopItem {
name = "clan";
exec = "clan";
desktopName = "CLan Manager";
startupWMClass = "clan";
mimeTypes = [ "x-scheme-handler/clan" ];
})
];
} }