nixos/home/hyprland/default.nix
Evie Litherland-Smith 000a6d0536 Remove some mimeapps
teams-for-linux not installed anymore

Remove emacs associations as I'll be in emacs opening any files anyway...
2023-11-13 11:17:47 +00:00

41 lines
1,015 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [ ./waybar/default.nix ./rofi/default.nix ./gtk.nix ./mako.nix ];
services = {
avizo.enable = true;
syncthing.enable = true;
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" ];
};
associations.added = defaultApplications;
};
};
}