t14_legacy_config/home/gui/default.nix

43 lines
1 KiB
Nix
Raw Normal View History

2022-08-26 06:50:38 +02:00
{ config, pkgs, lib, ... } :
with lib;
{
2022-11-30 00:46:55 +01:00
imports = [
./desktop
./i3.nix
./polybar.nix
./startx.nix
];
2022-08-26 06:50:38 +02:00
config = mkIf ( !config.home.isolation.active ) {
services.picom = {
enable = true;
};
services.dunst = {
enable = true;
};
services.betterlockscreen = {
enable = true;
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"application/pdf" = [ "org.kde.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" ];
};
};
};
}