feat(nix-hm): include default applications
This commit is contained in:
parent
9eccb332b0
commit
6643b7c5e5
@ -109,7 +109,36 @@ in {
|
|||||||
xdg = {
|
xdg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
mime.enable = true;
|
mime.enable = true;
|
||||||
mimeApps.enable = true;
|
mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
associations.added = {
|
||||||
|
"x-scheme-handler/http" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"x-scheme-handler/https" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"x-scheme-handler/chrome" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"text/html" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/x-extension-htm" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/x-extension-html" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/x-extension-shtml" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/xhtml+xml" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/x-extension-xhtml" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/x-extension-xht" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
|
||||||
|
};
|
||||||
|
defaultApplications = {
|
||||||
|
"application/pdf" = [ "org.pwmt.zathura.desktop" ];
|
||||||
|
"x-scheme-handler/http" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"x-scheme-handler/https" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"x-scheme-handler/chrome" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"text/html" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/x-extension-htm" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/x-extension-html" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/x-extension-shtml" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/xhtml+xml" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/x-extension-xhtml" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
"application/x-extension-xht" = [ "firefoxdeveloperedition.desktop" ];
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
systemDirs.data = [
|
systemDirs.data = [
|
||||||
"${config.home.homeDirectory}/.nix-profile/share"
|
"${config.home.homeDirectory}/.nix-profile/share"
|
||||||
"/usr/share"
|
"/usr/share"
|
||||||
@ -118,6 +147,10 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
firefox = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.firefox-devedition;
|
||||||
|
};
|
||||||
waybar = {
|
waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
@ -182,15 +215,12 @@ in {
|
|||||||
targets.compositor = {
|
targets.compositor = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Unit for DE to launch";
|
Description = "Unit for DE to launch";
|
||||||
ConditionEnvironment =
|
ConditionEnvironment = [ "WAYLAND_DISPLAY" "DISPLAY" ];
|
||||||
[ "WAYLAND_DISPLAY" "DISPLAY" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
waybar = {
|
waybar = {
|
||||||
Service.Environment = [
|
Service.Environment = [ "GTK_THEME='THIS THEME DOES NOT EXIST!'" ];
|
||||||
"GTK_THEME='THIS THEME DOES NOT EXIST!'"
|
|
||||||
];
|
|
||||||
Service.ExecStartPre = "env";
|
Service.ExecStartPre = "env";
|
||||||
Install.WantedBy = [ "compositor.target" ];
|
Install.WantedBy = [ "compositor.target" ];
|
||||||
Unit = {
|
Unit = {
|
||||||
|
Loading…
Reference in New Issue
Block a user