🧹 remove xdg-mime config
This commit is contained in:
parent
d75d133328
commit
c69626eb37
2 changed files with 1 additions and 51 deletions
|
@ -1,15 +1,8 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
|
||||||
./email.nix
|
|
||||||
./firefox.nix
|
|
||||||
./kitty.nix
|
|
||||||
./rofi
|
|
||||||
./spotify.nix
|
./spotify.nix
|
||||||
./xdg-mime.nix
|
imports = [ ./email.nix ./firefox.nix ./kitty.nix ./rofi ./zathura.nix ];
|
||||||
./zathura.nix
|
|
||||||
];
|
|
||||||
home-manager.users.moritz = {
|
home-manager.users.moritz = {
|
||||||
services.nextcloud-client = {
|
services.nextcloud-client = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -32,7 +25,6 @@
|
||||||
xfce.xfconf
|
xfce.xfconf
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
users.extraGroups.vboxusers.members = [ "moritz" ];
|
|
||||||
services.gvfs = {
|
services.gvfs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = lib.mkForce pkgs.gnome3.gvfs;
|
package = lib.mkForce pkgs.gnome3.gvfs;
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
browser = [ "firefox.desktop" ];
|
|
||||||
associations = {
|
|
||||||
"text/html" = browser;
|
|
||||||
"x-scheme-handler/http" = browser;
|
|
||||||
"x-scheme-handler/https" = browser;
|
|
||||||
"x-scheme-handler/ftp" = browser;
|
|
||||||
"x-scheme-handler/chrome" = browser;
|
|
||||||
"x-scheme-handler/about" = browser;
|
|
||||||
"x-scheme-handler/unknown" = browser;
|
|
||||||
"application/x-extension-htm" = browser;
|
|
||||||
"application/x-extension-html" = browser;
|
|
||||||
"application/x-extension-shtml" = browser;
|
|
||||||
"application/xhtml+xml" = browser;
|
|
||||||
"application/x-extension-xhtml" = browser;
|
|
||||||
"application/x-extension-xht" = browser;
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
home-manager.users.moritz = {
|
|
||||||
xdg.mime.enable = true;
|
|
||||||
xdg.mimeApps.enable = true;
|
|
||||||
xdg.mimeApps.associations.added = associations;
|
|
||||||
xdg.mimeApps.defaultApplications = associations;
|
|
||||||
xdg.desktopEntries = {
|
|
||||||
firefox = {
|
|
||||||
name = "Firefox";
|
|
||||||
genericName = "Web Browser";
|
|
||||||
exec = "${pkgs.firefox}/bin/firefox %U";
|
|
||||||
terminal = false;
|
|
||||||
categories = [ "Application" "Network" "WebBrowser" ];
|
|
||||||
mimeType = [
|
|
||||||
"text/html"
|
|
||||||
"text/xml"
|
|
||||||
"x-scheme-handler/http"
|
|
||||||
"x-scheme-handler/https"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue