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