t14_legacy_config/home/desktop/default.nix

35 lines
909 B
Nix
Raw Normal View History

2022-08-06 05:15:35 +02:00
{ config, pkgs, lib, ... }: with lib; {
2022-08-06 06:50:20 +02:00
imports = [ ./i3.nix ./polybar.nix ];
2022-08-06 05:15:35 +02:00
xsession.enable = true;
services.picom = {
enable = true;
};
services.dunst = {
enable = true;
};
services.betterlockscreen = {
enable = true;
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"application/pdf" = [ "okular.desktop" ];
"application/x-extension-htm" = [ "firefox.desktop" ];
"application/x-extension-html" = [ "firefox.desktop" ];
"application/x-extension-shtml" = [ "firefox.desktop" ];
"application/x-extension-xht" = [ "firefox.desktop" ];
"application/x-extension-xhtml" = [ "firefox.desktop" ];
"application/xhtml+xml" = [ "firefox.desktop" ];
"text/html" = [ "firefox.desktop" ];
"x-scheme-handler/http" = [ "firefox.desktop" ];
"x-scheme-handler/https" = [ "firefox.desktop" ];
};
};
}