1
0
Fork 0
nixos-config/home-manager/roles/hotkeys.nix

119 lines
3.3 KiB
Nix
Raw Normal View History

2022-03-08 01:42:46 +00:00
{pkgs, ...}: let
2021-10-27 22:54:05 +00:00
fork = cmd: "fork ${cmd}";
2022-03-08 01:42:46 +00:00
in [
2021-10-27 22:54:05 +00:00
{
Orga = [
2022-03-08 01:42:46 +00:00
{Kassandra = fork "planning";}
{Kalendar = "calendar";}
{Habitica = fork "firefox https://habitica.com";}
{Tasks = "tasksh";}
{Meditate = "meditate";}
{Pythia = "pythia";}
{Notes = "codium ~/git/notes";}
2021-10-27 22:54:05 +00:00
];
}
2022-01-04 14:37:28 +00:00
{
Research = {
Zotero = fork "zotero";
2022-01-20 18:23:58 +00:00
Open = fork "evince ~/git/promotion/out/print.pdf";
Build = "sh -c 'cd ~/git/promotion; flix develop -c flix run'";
2022-03-07 18:40:12 +00:00
Directory = fork "foot -d ~/git/promotion";
2022-02-18 13:37:33 +00:00
Edit = "codium ~/git/promotion";
2022-01-04 14:37:28 +00:00
};
}
2021-10-27 22:54:05 +00:00
{
Power = {
Shutdown = "systemctl poweroff";
Suspend = "systemctl suspend";
Reboot = "systemctl reboot";
};
}
{
2022-03-08 01:42:46 +00:00
SSH = let
ssh = host: "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" = "sshuttle --python python3.8 -r gw 130.83.0.0/16";}
];
2021-10-27 22:54:05 +00:00
}
{
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";
};
};
}
2022-02-16 23:43:20 +00:00
{
Apps = {
Editor = fork "codium";
2022-02-18 13:37:33 +00:00
Config = "codium ~/git/config";
2022-02-16 23:43:20 +00:00
Files = fork "nautilus";
2022-03-07 18:40:12 +00:00
DarkTerminal = fork "foot -o 'color.background=000000' -o 'foreground=ffffff'";
2022-02-16 23:43:20 +00:00
Games = {
Steam = fork "steam";
Minecraft = fork "minecraft-launcher";
};
};
}
2021-10-27 22:54:05 +00:00
{
Web = {
Browser = fork "firefox";
"Private Browser" = fork "firefox --private-window";
Chromium = fork "chromium";
2022-01-28 15:27:43 +00:00
Watchfeeds = "watchfeeds";
News = "news";
2021-10-27 22:54:05 +00:00
Deluge = fork "deluge";
2022-01-31 16:57:45 +00:00
VoxMachina = fork "mpv https://www.youtube.com/playlist?list=PL1tiwbzkOjQz7D0l_eLJGAISVtcL7oRu_";
2021-10-27 22:54:05 +00:00
};
}
2022-03-08 01:42:46 +00:00
{Passmenu = "pass clip -f";}
{"Select Mode" = "select-mode";}
2021-10-27 22:54:05 +00:00
{
Communication = [
2022-03-08 01:42:46 +00:00
{Matrix = fork "element-desktop";}
2021-11-18 20:24:57 +00:00
{
Mail = {
Open = "neomutt";
Inbox = "neomutt -f ~/Maildir/hera/Inbox";
Code = "neomutt -f ~/Maildir/hera/Code";
};
}
2021-12-01 19:06:52 +00:00
{
Mumble = {
CDA = fork "mumble mumble://maralorn@mumble.hax404.de";
Nixos = fork "mumble mumble://maralorn@lassul.us/nixos";
};
}
2022-03-08 01:42:46 +00:00
{Weechat = "weechat";}
{Signal = fork "signal-desktop";}
{Zoom = fork "zoom";}
{Telegram = fork "telegram-desktop";}
{Discord = fork "Discord";}
{Tmate = "tmate";}
2021-10-27 22:54:05 +00:00
];
}
2022-03-08 01:42:46 +00:00
{"Monitor (htop)" = "htop";}
2021-10-27 22:54:05 +00:00
{
"W17" = {
Summer = "ssh door@burbon.w17.io buzzer";
Open = "ssh door@burbon.w17.io open";
Close = "ssh door@burbon.w17.io close";
};
}
]