44 lines
1 KiB
Nix
44 lines
1 KiB
Nix
{ config, pkgs, lib, ... } :
|
|
with lib;
|
|
{
|
|
|
|
imports = [
|
|
./autorandr.nix
|
|
./desktop
|
|
./i3.nix
|
|
./polybar.nix
|
|
./startx.nix
|
|
];
|
|
|
|
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" ];
|
|
};
|
|
};
|
|
};
|
|
}
|