t14_legacy_config/home/desktop/default.nix
2022-08-05 21:21:54 -06:00

41 lines
1 KiB
Nix

{ config, pkgs, lib, ... }: with lib; {
imports = [ ./i3.nix ];
xsession.enable = true;
services.picom = {
enable = true;
};
services.polybar = {
enable = true;
script = import ./polybar/launch.sh.nix;
extraConfig = import ./polybar/config.nix;
};
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" ];
};
};
}