Evie Litherland-Smith
740325f707
Add firefox and chromium to web workspace, keep nyxt installed as quick popup browser to use elsewhere Remove discord workspace, move to apps workspace Add files workspace for thunar and libreoffice Add more waybar rewrites - libreoffice programs, thunar, PWAs like whatsapp web, etc...
55 lines
1.8 KiB
Nix
55 lines
1.8 KiB
Nix
{ config, lib, pkgs, ... }: {
|
|
home.packages = with pkgs; [ grim slurp discord signal-desktop ];
|
|
imports = [ ./waybar/default.nix ./rofi/default.nix ./gtk.nix ./mako.nix ];
|
|
services = {
|
|
avizo.enable = true;
|
|
syncthing.enable = true;
|
|
kanshi = {
|
|
enable = true;
|
|
systemdTarget = "hyprland-session.target";
|
|
};
|
|
udiskie = {
|
|
enable = true;
|
|
notify = true;
|
|
automount = true;
|
|
tray = "never";
|
|
};
|
|
};
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
xwayland.enable = true;
|
|
systemd.enable = true;
|
|
extraConfig = import ./config.nix { inherit config pkgs; };
|
|
};
|
|
xdg = {
|
|
configFile = {
|
|
"hypr/hyprpaper.conf".text = ''
|
|
preload = ${config.stylix.image}
|
|
wallpaper = ,${config.stylix.image}
|
|
'';
|
|
"hypr/extra.conf" = lib.mkDefault { text = ""; };
|
|
};
|
|
mimeApps = rec {
|
|
enable = true;
|
|
defaultApplications = {
|
|
"image/jpeg" = [ "swayimg.desktop" ];
|
|
"image/png" = [ "swayimg.desktop" ];
|
|
"video/mp4" = [ "mpv.desktop" ];
|
|
"text/csv" = [ "calc.desktop" ];
|
|
"text/html" = [ "firefox.desktop" ];
|
|
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
|
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
|
"x-scheme-handler/about" = [ "firefox.desktop" ];
|
|
"x-scheme-handler/chrome" = [ "firefox.desktop" ];
|
|
"application/x-extension-htm" = [ "firefox.desktop" ];
|
|
"application/x-extension-html" = [ "firefox.desktop" ];
|
|
"application/x-extension-shtml" = [ "firefox.desktop" ];
|
|
"application/xhtml+xml" = [ "firefox.desktop" ];
|
|
"application/x-extension-xhtml" = [ "firefox.desktop" ];
|
|
"application/x-extension-xht" = [ "firefox.desktop" ];
|
|
};
|
|
associations.added = defaultApplications;
|
|
};
|
|
};
|
|
}
|