2024-07-30 15:06:34 +01:00
|
|
|
{ config, pkgs, ... }:
|
2024-07-03 07:15:39 +01:00
|
|
|
{
|
2024-07-08 08:58:32 +01:00
|
|
|
home = {
|
2024-07-30 15:06:34 +01:00
|
|
|
pointerCursor =
|
|
|
|
let
|
|
|
|
name = if config.scheme.variant == "light" then "volantes_cursors" else "volantes_light_cursors";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
inherit name;
|
|
|
|
package = pkgs.volantes-cursors;
|
|
|
|
size = 32;
|
|
|
|
gtk.enable = config.gtk.enable;
|
|
|
|
x11 = {
|
|
|
|
enable = true;
|
|
|
|
defaultCursor = name;
|
|
|
|
};
|
2024-07-08 08:58:32 +01:00
|
|
|
};
|
|
|
|
};
|
2024-07-10 08:27:17 +01:00
|
|
|
services.syncthing.enable = true;
|
2024-07-03 07:15:39 +01:00
|
|
|
programs.mpv.enable = true;
|
|
|
|
xdg = {
|
|
|
|
mime.enable = true;
|
2024-07-30 15:06:34 +01:00
|
|
|
mimeApps =
|
|
|
|
let
|
|
|
|
defaultApplications = import ./mimeapps.nix;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
enable = true;
|
|
|
|
inherit defaultApplications;
|
|
|
|
associations = {
|
|
|
|
added = defaultApplications;
|
|
|
|
removed = {
|
|
|
|
"x-scheme-handler/zoomus" = config.xdg.mimeApps.defaultApplications."x-scheme-handler/http";
|
|
|
|
};
|
2024-07-07 08:47:50 +01:00
|
|
|
};
|
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
userDirs = {
|
|
|
|
enable = true;
|
|
|
|
createDirectories = true;
|
|
|
|
extraConfig = {
|
|
|
|
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-07-07 08:47:50 +01:00
|
|
|
xresources.properties = with config.scheme.withHashtag; {
|
|
|
|
"*background" = base00;
|
|
|
|
"*foreground" = base05;
|
|
|
|
"*color0" = base00;
|
|
|
|
"*color1" = red;
|
|
|
|
"*color2" = green;
|
|
|
|
"*color3" = yellow;
|
|
|
|
"*color4" = blue;
|
|
|
|
"*color5" = magenta;
|
|
|
|
"*color6" = cyan;
|
|
|
|
"*color7" = base04;
|
|
|
|
"*color8" = base01;
|
|
|
|
"*color9" = red;
|
|
|
|
"*color10" = green;
|
|
|
|
"*color11" = yellow;
|
|
|
|
"*color12" = blue;
|
|
|
|
"*color13" = magenta;
|
|
|
|
"*color14" = cyan;
|
|
|
|
"*color15" = base05;
|
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
}
|