feat: add extension to fix links
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
sansSerif = [ "SF Pro" ];
|
||||
serif = [ "SF Pro" ];
|
||||
monospace = [ "JetBrainsMono Nerd Font" ];
|
||||
emoji = [ "Apple Color Emoji" ];
|
||||
};
|
||||
|
||||
packages = with pkgs; [
|
||||
|
||||
20
host/common/optional/syncthing.nix
Normal file
20
host/common/optional/syncthing.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
|
||||
settings = {
|
||||
devices = {
|
||||
"phone" = { id = "DBTMZ3P-VONFNYH-LDDNIO3-ZZ2TKO5-QFVV5D4-W4FMV67-HUTIJQB-UHNF3QM"; };
|
||||
};
|
||||
|
||||
folders = {
|
||||
"Music" = {
|
||||
path = "/home/max/media/music";
|
||||
devices = [ "phone" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -14,6 +14,7 @@
|
||||
../common/optional/locale.nix
|
||||
../common/optional/email.nix
|
||||
../common/optional/proton.nix
|
||||
../common/optional/syncthing.nix
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
||||
@@ -51,6 +51,15 @@
|
||||
Cryptomining = true;
|
||||
Fingerprinting = true;
|
||||
};
|
||||
|
||||
ExtensionSettings = {
|
||||
# The default behaviour of ctrl+click, shift+click, cmd+click (on macOS) and middle-click when clicking on links is to open the link in a new tab (or new window in the case of shift).
|
||||
# This behaviour is sometimes broken by silly developers.
|
||||
"{18b670e2-67df-4b26-b9b0-34835d1f062a}" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/link-fixer/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
profiles.default = let
|
||||
|
||||
@@ -7,6 +7,13 @@
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "/home/max/media/music";
|
||||
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "pipewire"
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
services.mpd-mpris.enable = true;
|
||||
@@ -16,6 +23,9 @@
|
||||
bindings = [
|
||||
{ key = "j"; command = "scroll_down"; }
|
||||
{ key = "k"; command = "scroll_up"; }
|
||||
{ key = "h"; command = "previous_column"; }
|
||||
{ key = "l"; command = "next_column"; }
|
||||
|
||||
{ key = "J"; command = [ "select_item" "scroll_down" ]; }
|
||||
{ key = "K"; command = [ "select_item" "scroll_up" ]; }
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user