dotfiles.nix/home/pijul.nix

21 lines
443 B
Nix
Raw Permalink Normal View History

{ flake, pkgs, ... }:
let
2024-07-20 00:59:11 +00:00
inherit (flake.config) me;
tomlFormat = pkgs.formats.toml { };
2024-07-18 14:16:04 +00:00
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 = {
2024-07-20 00:59:11 +00:00
name = me.username;
full_name = me.name;
inherit (me) email;
};
};
};
};
}