Compare commits
2 Commits
1b11cf2dc5
...
4a94fb7a25
Author | SHA1 | Date | |
---|---|---|---|
4a94fb7a25 | |||
ef08ee830b |
38
users/price/conf/firefox/default.nix
Normal file
38
users/price/conf/firefox/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
xdg.mimeApps = lib.mkIf (config.programs.firefox.enable) {
|
||||
associations.added = {
|
||||
"x-scheme-handler/http" = [ "firefox-developer-edition.desktop" ];
|
||||
"x-scheme-handler/https" = [ "firefox-developer-edition.desktop" ];
|
||||
"x-scheme-handler/chrome" = [ "firefox-developer-edition.desktop" ];
|
||||
"text/html" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/x-extension-htm" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/x-extension-html" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/x-extension-shtml" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/xhtml+xml" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/x-extension-xhtml" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/x-extension-xht" = [ "firefox-developer-edition.desktop" ];
|
||||
};
|
||||
defaultApplications = {
|
||||
"x-scheme-handler/http" = [ "firefox-developer-edition.desktop" ];
|
||||
"x-scheme-handler/https" = [ "firefox-developer-edition.desktop" ];
|
||||
"x-scheme-handler/chrome" = [ "firefox-developer-edition.desktop" ];
|
||||
"text/html" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/x-extension-htm" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/x-extension-html" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/x-extension-shtml" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/xhtml+xml" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/x-extension-xhtml" = [ "firefox-developer-edition.desktop" ];
|
||||
"application/x-extension-xht" = [ "firefox-developer-edition.desktop" ];
|
||||
};
|
||||
};
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox-devedition-bin;
|
||||
};
|
||||
}
|
11
users/price/conf/zathura/default.nix
Normal file
11
users/price/conf/zathura/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.zathura
|
||||
];
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"application/pdf" = [
|
||||
"org.pwmt.zathura.desktop"
|
||||
];
|
||||
};
|
||||
}
|
@ -48,7 +48,6 @@ in
|
||||
vesktop
|
||||
kooha
|
||||
libreoffice-fresh
|
||||
zathura
|
||||
nix-prefetch-scripts
|
||||
mako
|
||||
wl-clipboard
|
||||
@ -177,34 +176,7 @@ in
|
||||
mime.enable = true;
|
||||
systemDirs.data = [ "${config.home.profileDirectory}/share/" ];
|
||||
cacheHome = "${config.home.homeDirectory}/.local/cache";
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
associations.added = {
|
||||
"x-scheme-handler/http" = [ "firefox-devedition.desktop" ];
|
||||
"x-scheme-handler/https" = [ "firefox-devedition.desktop" ];
|
||||
"x-scheme-handler/chrome" = [ "firefox-devedition.desktop" ];
|
||||
"text/html" = [ "firefox-devedition.desktop" ];
|
||||
"application/x-extension-htm" = [ "firefox-devedition.desktop" ];
|
||||
"application/x-extension-html" = [ "firefox-devedition.desktop" ];
|
||||
"application/x-extension-shtml" = [ "firefox-devedition.desktop" ];
|
||||
"application/xhtml+xml" = [ "firefox-devedition.desktop" ];
|
||||
"application/x-extension-xhtml" = [ "firefox-devedition.desktop" ];
|
||||
"application/x-extension-xht" = [ "firefox-devedition.desktop" ];
|
||||
};
|
||||
defaultApplications = {
|
||||
"application/pdf" = [ "org.pwmt.zathura.desktop" ];
|
||||
"x-scheme-handler/http" = [ "firefox-devedition.desktop" ];
|
||||
"x-scheme-handler/https" = [ "firefox-devedition.desktop" ];
|
||||
"x-scheme-handler/chrome" = [ "firefox-devedition.desktop" ];
|
||||
"text/html" = [ "firefox-devedition.desktop" ];
|
||||
"application/x-extension-htm" = [ "firefox-devedition.desktop" ];
|
||||
"application/x-extension-html" = [ "firefox-devedition.desktop" ];
|
||||
"application/x-extension-shtml" = [ "firefox-devedition.desktop" ];
|
||||
"application/xhtml+xml" = [ "firefox-devedition.desktop" ];
|
||||
"application/x-extension-xhtml" = [ "firefox-devedition.desktop" ];
|
||||
"application/x-extension-xht" = [ "firefox-devedition.desktop" ];
|
||||
};
|
||||
};
|
||||
mimeApps.enable = true;
|
||||
configFile = {
|
||||
"hypr/hyprland.conf".enable = false;
|
||||
};
|
||||
@ -212,10 +184,6 @@ in
|
||||
|
||||
programs = {
|
||||
wofi.enable = true;
|
||||
firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox-devedition-bin;
|
||||
};
|
||||
waybar = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user