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
];
}

View file

@ -51,14 +51,14 @@
evolution
file
firefox
gallery-dl
# gallery-dl
gnome.dconf-editor
gnome.eog
gnome.evince
gnomeExtensions.appindicator
gnomeExtensions.caffeine
gnomeExtensions.dash-to-dock
gnomeExtensions.dynamic-panel-transparency
# gnomeExtensions.dash-to-dock
# gnomeExtensions.dynamic-panel-transparency
gnomeExtensions.just-perfection
gnomeExtensions.gtile
gnome.file-roller
@ -85,7 +85,6 @@
mmv-go
mpv
neofetch
notion
nix-prefetch-scripts
obsidian
openvpn
@ -146,6 +145,7 @@
./modules/megasync.nix
./modules/nix-index.nix
./modules/noti.nix
./modules/notion.nix
./modules/obs-studio.nix
./modules/office.nix
./modules/onedrive.nix

View file

@ -1,8 +1,8 @@
#!/bin/sh
sudo nix-channel --add https://nixos.org/channels/nixos-21.05 nixos
sudo nix-channel --add https://nixos.org/channels/nixos-21.11 nixos
sudo nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware
nix-channel --add https://nixos.org/channels/nixos-21.05 nixos
nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manager
nix-channel --add https://nixos.org/channels/nixos-21.11 nixos
nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.11.tar.gz home-manager
nix-channel --add https://github.com/NixOS/nixpkgs/archive/master.tar.gz nixpkgs

View file

@ -87,7 +87,6 @@
mmv-go
mpv
neofetch
notion
nix-prefetch-scripts
obsidian
openvpn
@ -157,6 +156,7 @@
./modules/megasync.nix
./modules/nix-index.nix
./modules/noti.nix
./modules/notion.nix
./modules/obs-studio.nix
./modules/office.nix
./modules/onedrive.nix