nixos/home/env/xresources.nix

29 lines
780 B
Nix

{ pkgs, ... }:
{
xresources.extraConfig = builtins.readFile
(
pkgs.fetchFromGitHub
{
owner = "catppuccin";
repo = "xresources";
rev = "d82c02323e05158ad35f302771e3695affafab78";
sha256 = "irRQPjvcTH6AUC07Sm2l77CkrZQNHNJXxBDBSIhl1Fg=";
} + "/macchiato.Xresources"
) + "\n" + builtins.readFile (
pkgs.fetchFromGitHub
{
owner = "catppuccin";
repo = "urxvt";
rev = "ccd8eb763edd0a382b5e9bbfbd9697c4d4129edf";
sha256 = "YFlSGJzWWB57eSXiUY4l/mSBbOY0an+qej6//YLSiuE=";
} + "/macchiato.Xresources"
);
programs.urxvt = {
enable = true;
fonts = [
"xft:FiraCode Nerd Font Mono:pixelsize=16"
"xft:Iosevka Nerd Font Mono:pixelsize=16"
];
};
}