116 lines
3.3 KiB
Nix
116 lines
3.3 KiB
Nix
{ pkgs, ... }:
|
|
let
|
|
fork = cmd: "fork ${cmd}";
|
|
in
|
|
[
|
|
{
|
|
Orga = [
|
|
{ Kassandra = fork "kassandra2"; }
|
|
{ Kalendar = "ikhal -d Serien"; }
|
|
{ Habitica = fork "firefox https://habitica.com"; }
|
|
{ Tasks = "tasksh"; }
|
|
{ Meditate = "meditate"; }
|
|
{ Pythia = "pythia"; }
|
|
];
|
|
}
|
|
{
|
|
Research = {
|
|
Zotero = fork "zotero";
|
|
Open = fork "evince ~/git/promotion/out/print.pdf";
|
|
Build = "sh -c 'cd ~/git/promotion; flix develop -c flix run'";
|
|
Directory = fork "kitty -d ~/git/promotion";
|
|
};
|
|
}
|
|
{
|
|
Power = {
|
|
Shutdown = "systemctl poweroff";
|
|
Suspend = "systemctl suspend";
|
|
Reboot = "systemctl reboot";
|
|
};
|
|
}
|
|
{
|
|
SSH =
|
|
let
|
|
ssh = host: "kitty +kitten ssh ${host}";
|
|
in
|
|
[
|
|
{ "hera via vpn" = ssh "hera.vpn.m-0.eu"; }
|
|
{ "fluffy via vpn" = ssh "fluffy.vpn.m-0.eu"; }
|
|
{ remote-builder = ssh "phoibe.cased.de -i /etc/nixos/private/id_ed25519-nix-builder"; }
|
|
{ ag = ssh "ag-forward"; }
|
|
{ gwres1 = ssh "gw"; }
|
|
{ backup-server = ssh "borg.cysec.de"; }
|
|
{ shells = ssh "shells"; }
|
|
{ "bach (ved)" = ssh "bach.vocalensemble-darmstadt.de"; }
|
|
{ "nixbuild.net" = "${pkgs.rlwrap}/bin/rlwrap ssh eu.nixbuild.net -i /etc/nixos/private/id_ed25519-nix-builder shell"; }
|
|
{ "fluffy via local network" = ssh "fluffy.lo.m-0.eu"; }
|
|
{ "hera via public v4" = ssh "hera-v4"; }
|
|
{ "TU Tunnel" = fork "kitty sshuttle --python python3.8 -r gw 130.83.0.0/16"; }
|
|
];
|
|
}
|
|
{
|
|
Sound = {
|
|
"Play/Pause" = "${pkgs.playerctl}/bin/playerctl play-pause";
|
|
MPD = "ncmpcpp";
|
|
"Lautstärke" = "ncpamixer";
|
|
Pavucontrol = fork "pavucontrol";
|
|
Headset = {
|
|
connect = "bluetoothctl connect AC:12:2F:4F:EB:FA";
|
|
disconnect = "bluetoothctl disconnect AC:12:2F:4F:EB:FA";
|
|
};
|
|
};
|
|
}
|
|
{
|
|
Web = {
|
|
Browser = fork "firefox";
|
|
"Private Browser" = fork "firefox --private-window";
|
|
Chromium = fork "chromium";
|
|
Watchfeeds = "watchfeeds";
|
|
News = "news";
|
|
Deluge = fork "deluge";
|
|
VoxMachina = fork "mpv https://www.youtube.com/playlist?list=PL1tiwbzkOjQz7D0l_eLJGAISVtcL7oRu_";
|
|
};
|
|
}
|
|
{ Files = fork "nautilus"; }
|
|
{ Passmenu = "pass clip -f"; }
|
|
{ "Select Mode" = "select-mode"; }
|
|
{
|
|
Communication = [
|
|
{ Matrix = fork "element-desktop"; }
|
|
{
|
|
Mail = {
|
|
Open = "neomutt";
|
|
Inbox = "neomutt -f ~/Maildir/hera/Inbox";
|
|
Code = "neomutt -f ~/Maildir/hera/Code";
|
|
};
|
|
}
|
|
{
|
|
Mumble = {
|
|
CDA = fork "mumble mumble://maralorn@mumble.hax404.de";
|
|
Nixos = fork "mumble mumble://maralorn@lassul.us/nixos";
|
|
};
|
|
}
|
|
{ Weechat = "weechat"; }
|
|
{ Signal = fork "signal-desktop"; }
|
|
{ Zoom = fork "zoom"; }
|
|
{ Telegram = fork "telegram-desktop"; }
|
|
{ Discord = fork "Discord"; }
|
|
{ Tmate = "tmate"; }
|
|
];
|
|
}
|
|
{ "Monitor (htop)" = "htop"; }
|
|
{
|
|
"W17" = {
|
|
Summer = "ssh door@burbon.w17.io buzzer";
|
|
Open = "ssh door@burbon.w17.io open";
|
|
Close = "ssh door@burbon.w17.io close";
|
|
};
|
|
}
|
|
{ DarkKitty = fork "kitty -o 'background #000000' -o 'foreground #ffffff'"; }
|
|
{
|
|
Games = {
|
|
Steam = fork "steam";
|
|
Minecraft = fork "minecraft-launcher";
|
|
};
|
|
}
|
|
]
|