Evie Litherland-Smith
b80ec99cd2
Add Chromium back, force not to be default browser. Add rule to put PWAs installed from chromium in same workspace
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
home.packages = with pkgs; [ discord ];
|
|
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" ];
|
|
};
|
|
associations.added = defaultApplications;
|
|
};
|
|
};
|
|
}
|