dotfiles.nix/home/pijul.nix

21 lines
443 B
Nix

{ flake, pkgs, ... }:
let
inherit (flake.config) me;
tomlFormat = pkgs.formats.toml { };
in
{
home = {
packages = [ pkgs.pijul ];
file = {
# hardcode .config because pijul doesn't support XDG (yet?)
".config/pijul/config.toml".source = tomlFormat.generate "pijul-config" {
author = {
name = me.username;
full_name = me.name;
inherit (me) email;
};
};
};
};
}