System: Update mime associations (firefox)
This commit is contained in:
@ -317,6 +317,7 @@ rec {
|
|||||||
AusweisApp2
|
AusweisApp2
|
||||||
protonmail-bridge # TODO: Enable on startup, email module
|
protonmail-bridge # TODO: Enable on startup, email module
|
||||||
thunderbird # TODO: Email module
|
thunderbird # TODO: Email module
|
||||||
|
# parsec-bin
|
||||||
|
|
||||||
# Office
|
# Office
|
||||||
wacomtablet # For xournalpp/krita
|
wacomtablet # For xournalpp/krita
|
||||||
@ -479,6 +480,7 @@ rec {
|
|||||||
"com.spotify.Client"
|
"com.spotify.Client"
|
||||||
"com.google.Chrome"
|
"com.google.Chrome"
|
||||||
"md.obsidian.Obsidian"
|
"md.obsidian.Obsidian"
|
||||||
|
# "com.parsecgaming.parsec"
|
||||||
"dev.vencord.Vesktop"
|
"dev.vencord.Vesktop"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -163,8 +163,9 @@ with mylib.networking; {
|
|||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
removedAssociations = {
|
removedAssociations = {
|
||||||
"application/pdf" = "chromium-browser.desktop";
|
"application/pdf" = ["chromium-browser.desktop"];
|
||||||
"text/plain" = "code.desktop";
|
"text/plain" = ["code.desktop"];
|
||||||
|
"text/html" = ["com.google.Chrome.desktop"];
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultApplications = let
|
defaultApplications = let
|
||||||
@ -172,13 +173,25 @@ with mylib.networking; {
|
|||||||
videoPlayer = "mpv.desktop";
|
videoPlayer = "mpv.desktop";
|
||||||
imageViewer = "imv.desktop";
|
imageViewer = "imv.desktop";
|
||||||
audioPlayer = "mpv.desktop"; # mov.desktop
|
audioPlayer = "mpv.desktop"; # mov.desktop
|
||||||
|
pdfViewer = "org.pwmt.zathura.desktop";
|
||||||
|
webBrowser = "firefox.desktop";
|
||||||
|
fileBrowser = "nnn.desktop";
|
||||||
in {
|
in {
|
||||||
"inode/directory" = "nnn.desktop";
|
"text/html" = "${webBrowser}";
|
||||||
|
|
||||||
|
"inode/directory" = "${fileBrowser}";
|
||||||
|
|
||||||
|
"application/pdf" = "${pdfViewer}";
|
||||||
|
|
||||||
"application/pdf" = "org.pwmt.zathura.desktop";
|
|
||||||
"application/x-sh" = "${textEditor}";
|
"application/x-sh" = "${textEditor}";
|
||||||
"application/xhtml+xml" = "${textEditor}";
|
"application/xhtml+xml" = "${textEditor}";
|
||||||
"application/xml" = "${textEditor}";
|
"application/xml" = "${textEditor}";
|
||||||
|
"text/plain" = "${textEditor}";
|
||||||
|
"text/css" = "${textEditor}";
|
||||||
|
"text/csv" = "${textEditor}";
|
||||||
|
"text/javascript" = "${textEditor}";
|
||||||
|
"text/json" = "${textEditor}";
|
||||||
|
"text/xml" = "${textEditor}";
|
||||||
|
|
||||||
"image/bmp" = "${imageViewer}";
|
"image/bmp" = "${imageViewer}";
|
||||||
"image/jpeg" = "${imageViewer}";
|
"image/jpeg" = "${imageViewer}";
|
||||||
@ -197,13 +210,6 @@ with mylib.networking; {
|
|||||||
"video/x-msvideo" = "${videoPlayer}";
|
"video/x-msvideo" = "${videoPlayer}";
|
||||||
"video/x-ms-wmv" = "${videoPlayer}";
|
"video/x-ms-wmv" = "${videoPlayer}";
|
||||||
|
|
||||||
"text/css" = "${textEditor}";
|
|
||||||
"text/csv" = "${textEditor}";
|
|
||||||
"text/javascript" = "${textEditor}";
|
|
||||||
"text/json" = "${textEditor}";
|
|
||||||
"text/plain" = "${textEditor}";
|
|
||||||
"text/xml" = "${textEditor}";
|
|
||||||
|
|
||||||
"audio/mpeg" = "${audioPlayer}";
|
"audio/mpeg" = "${audioPlayer}";
|
||||||
"audio/ogg" = "${audioPlayer}";
|
"audio/ogg" = "${audioPlayer}";
|
||||||
"audio/opus" = "${audioPlayer}";
|
"audio/opus" = "${audioPlayer}";
|
||||||
|
@ -24,9 +24,17 @@
|
|||||||
# "10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {...};
|
# "10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {...};
|
||||||
};
|
};
|
||||||
|
|
||||||
allowedTCPPorts = [];
|
allowedTCPPorts = [
|
||||||
|
# 7777 # AvaTalk
|
||||||
|
# 12777 # AvaTalk
|
||||||
|
# 31431 # Parsec
|
||||||
|
];
|
||||||
|
|
||||||
allowedUDPPorts = [];
|
allowedUDPPorts = [
|
||||||
|
# 7777 # AvaTalk
|
||||||
|
# 12777 # AvaTalk
|
||||||
|
# 31431 # Parsec
|
||||||
|
];
|
||||||
|
|
||||||
wireguard-tunnels = {
|
wireguard-tunnels = {
|
||||||
wg0-de-115 =
|
wg0-de-115 =
|
||||||
|
Reference in New Issue
Block a user