Notion webapp

This commit is contained in:
Filippo Berto 2021-12-01 11:47:56 +01:00
parent 35973537bd
commit 6e3edf1484
4 changed files with 29 additions and 8 deletions

21
modules/notion.nix Normal file
View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
with pkgs;
let
link = "https://notion.so";
cmd = "${google-chrome}/bin/google-chrome-stable --app=${link}";
desktopItem = pkgs.makeDesktopItem
{
name = "Notion";
type = "Application";
exec = cmd;
icon = "notion";
desktopName = "Notion";
comment = "Notion web client";
categories = "Office;";
};
in
{
home.packages = [
desktopItem
];
}