Update modules + webapps
This commit is contained in:
parent
f00fe93ec4
commit
c996e57264
10 changed files with 54 additions and 130 deletions
|
|
@ -3,9 +3,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
nix-direnv = {
|
nix-direnv.enable = true;
|
||||||
enable = true;
|
|
||||||
enableFlakes = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -225,18 +225,18 @@ in
|
||||||
key = "<c-n>";
|
key = "<c-n>";
|
||||||
effect = "<a-;>: insert-c-n<ret>";
|
effect = "<a-;>: insert-c-n<ret>";
|
||||||
}
|
}
|
||||||
{
|
# {
|
||||||
mode = "normal";
|
# mode = "normal";
|
||||||
docstring = "Search";
|
# docstring = "Search";
|
||||||
key = "/";
|
# key = "/";
|
||||||
effect = "/(?i)";
|
# effect = "/(?i)";
|
||||||
}
|
# }
|
||||||
{
|
# {
|
||||||
mode = "normal";
|
# mode = "normal";
|
||||||
docstring = "Reverse search";
|
# docstring = "Reverse search";
|
||||||
key = "<a-/>";
|
# key = "<a-/>";
|
||||||
effect = "<a-/>(?i)";
|
# effect = "<a-/>(?i)";
|
||||||
}
|
# }
|
||||||
];
|
];
|
||||||
hooks = with pkgs;
|
hooks = with pkgs;
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
with pkgs;
|
|
||||||
let
|
|
||||||
cmd = "${google-chrome}/bin/google-chrome-stable --app=https://keep.google.com";
|
|
||||||
desktopItem = pkgs.makeDesktopItem
|
|
||||||
{
|
|
||||||
name = "Keep";
|
|
||||||
type = "Application";
|
|
||||||
exec = cmd;
|
|
||||||
icon = "keep";
|
|
||||||
desktopName = "Keep";
|
|
||||||
comment = "Google Keep note app";
|
|
||||||
categories = "Office;";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.packages = [
|
|
||||||
desktopItem
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{ 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
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
with pkgs;
|
|
||||||
let
|
|
||||||
link = "https://twitch.com";
|
|
||||||
cmd = "${google-chrome}/bin/google-chrome-stable --app=${link}";
|
|
||||||
desktopItem = pkgs.makeDesktopItem
|
|
||||||
{
|
|
||||||
name = "Twitch";
|
|
||||||
type = "Application";
|
|
||||||
exec = cmd;
|
|
||||||
icon = "twitch";
|
|
||||||
desktopName = "Twitch";
|
|
||||||
comment = "Twitch web client";
|
|
||||||
categories = "Office;";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.packages = [
|
|
||||||
desktopItem
|
|
||||||
];
|
|
||||||
}
|
|
||||||
30
modules/webapp.nix
Normal file
30
modules/webapp.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
{ pkgs, lib, ... }:
|
||||||
|
# Categories: https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry
|
||||||
|
let
|
||||||
|
cmd = link: "${pkgs.google-chrome}/bin/google-chrome-stable --app=${link}";
|
||||||
|
links = [
|
||||||
|
{ name = "YouTube"; link = "https://www.youtube.com"; categories = "AudioVideo"; }
|
||||||
|
{ name = "Twitch"; link = "https://www.twitch.tv"; icon = builtins.fetchurl "https://static.twitchcdn.net/assets/favicon-32-e29e246c157142c94346.png"; categories = "AudioVideo"; }
|
||||||
|
{ name = "Netflix"; link = "https://www.netflix.com"; categories = "AudioVideo"; }
|
||||||
|
{ name = "Prime Video"; link = "https://primevideo.com"; categories = "AudioVideo"; }
|
||||||
|
{ name = "Google Keep"; link = "https://keep.google.com"; categories = "Office"; }
|
||||||
|
{ name = "Google Calendar"; link = "https://google.com/calendar"; icon = "calendar"; categories = "Calendar;Office"; }
|
||||||
|
{ name = "Notion"; link = "https://notion.so"; categories = "Office"; }
|
||||||
|
{ name = "WhatsApp"; link = "https://web.whatsapp.com/"; }
|
||||||
|
];
|
||||||
|
webAppBuilder =
|
||||||
|
{ name
|
||||||
|
, link
|
||||||
|
, icon ? lib.toLower name
|
||||||
|
, desktopName ? name
|
||||||
|
, comment ? null
|
||||||
|
, categories ? "Network"
|
||||||
|
}: pkgs.makeDesktopItem {
|
||||||
|
inherit name icon desktopName comment categories;
|
||||||
|
type = "Application";
|
||||||
|
exec = cmd link;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.packages = map webAppBuilder links;
|
||||||
|
}
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
with pkgs;
|
|
||||||
let
|
|
||||||
link = "https://web.whatsapp.com";
|
|
||||||
cmd = "${google-chrome}/bin/google-chrome-stable --app=${link}";
|
|
||||||
desktopItem = pkgs.makeDesktopItem
|
|
||||||
{
|
|
||||||
name = "Whatsapp";
|
|
||||||
type = "Application";
|
|
||||||
exec = cmd;
|
|
||||||
icon = "whatsapp";
|
|
||||||
desktopName = "Whatsapp";
|
|
||||||
comment = "Whatsapp web client";
|
|
||||||
categories = "Office;";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.packages = [
|
|
||||||
desktopItem
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
with pkgs;
|
|
||||||
let
|
|
||||||
link = "https://youtube.com";
|
|
||||||
cmd = "${google-chrome}/bin/google-chrome-stable --app=${link}";
|
|
||||||
desktopItem = pkgs.makeDesktopItem
|
|
||||||
{
|
|
||||||
name = "YouTube";
|
|
||||||
type = "Application";
|
|
||||||
exec = cmd;
|
|
||||||
icon = "youtube";
|
|
||||||
desktopName = "YouTube";
|
|
||||||
comment = "YouTube web client";
|
|
||||||
categories = "Office;";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.packages = [
|
|
||||||
desktopItem
|
|
||||||
];
|
|
||||||
}
|
|
||||||
9
odin.nix
9
odin.nix
|
|
@ -42,6 +42,7 @@
|
||||||
docker-machine
|
docker-machine
|
||||||
|
|
||||||
arandr
|
arandr
|
||||||
|
ark
|
||||||
authy
|
authy
|
||||||
bitwarden
|
bitwarden
|
||||||
blender
|
blender
|
||||||
|
|
@ -103,6 +104,7 @@
|
||||||
tdesktop
|
tdesktop
|
||||||
teams
|
teams
|
||||||
transmission-gtk
|
transmission-gtk
|
||||||
|
unrar
|
||||||
virt-manager
|
virt-manager
|
||||||
wget
|
wget
|
||||||
# wineFull
|
# wineFull
|
||||||
|
|
@ -125,6 +127,7 @@
|
||||||
./modules/bottom.nix
|
./modules/bottom.nix
|
||||||
./modules/broot.nix
|
./modules/broot.nix
|
||||||
# ./modules/bspwm.nix
|
# ./modules/bspwm.nix
|
||||||
|
./modules/calendar.nix
|
||||||
./modules/dircolors.nix
|
./modules/dircolors.nix
|
||||||
./modules/direnv.nix
|
./modules/direnv.nix
|
||||||
# ./modules/dunst.nix
|
# ./modules/dunst.nix
|
||||||
|
|
@ -138,7 +141,6 @@
|
||||||
# ./modules/joystickwake.nix
|
# ./modules/joystickwake.nix
|
||||||
./modules/jq.nix
|
./modules/jq.nix
|
||||||
./modules/kakoune.nix
|
./modules/kakoune.nix
|
||||||
./modules/keep.nix
|
|
||||||
# ./modules/keepassxc.nix
|
# ./modules/keepassxc.nix
|
||||||
./modules/keychain.nix
|
./modules/keychain.nix
|
||||||
./modules/latex.nix
|
./modules/latex.nix
|
||||||
|
|
@ -150,7 +152,6 @@
|
||||||
./modules/megasync.nix
|
./modules/megasync.nix
|
||||||
./modules/nix-index.nix
|
./modules/nix-index.nix
|
||||||
./modules/noti.nix
|
./modules/noti.nix
|
||||||
./modules/notion.nix
|
|
||||||
# ./modules/obs-studio.nix
|
# ./modules/obs-studio.nix
|
||||||
./modules/office.nix
|
./modules/office.nix
|
||||||
./modules/onedrive.nix
|
./modules/onedrive.nix
|
||||||
|
|
@ -167,11 +168,9 @@
|
||||||
./modules/syncthing.nix
|
./modules/syncthing.nix
|
||||||
./modules/terminator.nix
|
./modules/terminator.nix
|
||||||
./modules/tmux.nix
|
./modules/tmux.nix
|
||||||
./modules/twitch.nix
|
|
||||||
./modules/update_background.nix
|
./modules/update_background.nix
|
||||||
./modules/whatsapp.nix
|
./modules/webapp.nix
|
||||||
# ./modules/xidlehook.nix
|
# ./modules/xidlehook.nix
|
||||||
./modules/youtube.nix
|
|
||||||
./modules/zoxide.nix
|
./modules/zoxide.nix
|
||||||
./modules/zsh.nix
|
./modules/zsh.nix
|
||||||
|
|
||||||
|
|
|
||||||
12
thor.nix
12
thor.nix
|
|
@ -42,6 +42,7 @@
|
||||||
docker-machine
|
docker-machine
|
||||||
|
|
||||||
arandr
|
arandr
|
||||||
|
ark
|
||||||
authy
|
authy
|
||||||
bitwarden
|
bitwarden
|
||||||
(blender.override { cudaSupport = true; })
|
(blender.override { cudaSupport = true; })
|
||||||
|
|
@ -49,7 +50,9 @@
|
||||||
catgirl # IRC
|
catgirl # IRC
|
||||||
cava
|
cava
|
||||||
discord
|
discord
|
||||||
|
# electrum
|
||||||
element-desktop
|
element-desktop
|
||||||
|
evolution
|
||||||
kmail
|
kmail
|
||||||
file
|
file
|
||||||
firefox
|
firefox
|
||||||
|
|
@ -67,8 +70,10 @@
|
||||||
kdiff3
|
kdiff3
|
||||||
korganizer
|
korganizer
|
||||||
kontact
|
kontact
|
||||||
|
minecraft
|
||||||
mmv-go
|
mmv-go
|
||||||
mpv
|
mpv
|
||||||
|
mycrypto
|
||||||
neofetch
|
neofetch
|
||||||
nix-prefetch-scripts
|
nix-prefetch-scripts
|
||||||
nix-tree
|
nix-tree
|
||||||
|
|
@ -84,6 +89,7 @@
|
||||||
tdesktop
|
tdesktop
|
||||||
teams
|
teams
|
||||||
transmission-gtk
|
transmission-gtk
|
||||||
|
unrar
|
||||||
virt-manager
|
virt-manager
|
||||||
wget
|
wget
|
||||||
# wineFull
|
# wineFull
|
||||||
|
|
@ -128,7 +134,6 @@
|
||||||
# ./modules/joystickwake.nix
|
# ./modules/joystickwake.nix
|
||||||
./modules/jq.nix
|
./modules/jq.nix
|
||||||
./modules/kakoune.nix
|
./modules/kakoune.nix
|
||||||
./modules/keep.nix
|
|
||||||
# ./modules/keepassxc.nix
|
# ./modules/keepassxc.nix
|
||||||
./modules/keychain.nix
|
./modules/keychain.nix
|
||||||
./modules/latex.nix
|
./modules/latex.nix
|
||||||
|
|
@ -139,7 +144,6 @@
|
||||||
./modules/megasync.nix
|
./modules/megasync.nix
|
||||||
./modules/nix-index.nix
|
./modules/nix-index.nix
|
||||||
./modules/noti.nix
|
./modules/noti.nix
|
||||||
./modules/notion.nix
|
|
||||||
./modules/obs-studio.nix
|
./modules/obs-studio.nix
|
||||||
./modules/office.nix
|
./modules/office.nix
|
||||||
./modules/onedrive.nix
|
./modules/onedrive.nix
|
||||||
|
|
@ -156,11 +160,9 @@
|
||||||
./modules/syncthing.nix
|
./modules/syncthing.nix
|
||||||
./modules/terminator.nix
|
./modules/terminator.nix
|
||||||
./modules/tmux.nix
|
./modules/tmux.nix
|
||||||
./modules/twitch.nix
|
|
||||||
./modules/update_background.nix
|
./modules/update_background.nix
|
||||||
./modules/whatsapp.nix
|
./modules/webapp.nix
|
||||||
# ./modules/xidlehook.nix
|
# ./modules/xidlehook.nix
|
||||||
./modules/youtube.nix
|
|
||||||
./modules/zoxide.nix
|
./modules/zoxide.nix
|
||||||
./modules/zsh.nix
|
./modules/zsh.nix
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue