nix: basic joshuto configuration

This commit is contained in:
Primrose 2024-08-08 12:26:40 +02:00
parent 86daddba7e
commit a8794a8ebe
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
7 changed files with 851 additions and 1 deletions

View file

@ -0,0 +1,22 @@
{ pkgs, ... }:
# TODO: move this to a homeModule ?
{
home.packages = [ pkgs.joshuto ];
xdg.configFile = {
# NOTE: NO DEFAULT OR INHERITED VALUES FROM A DEFAULT CONFIG
# "joshuto/preview_file.sh" = {
# source = ./preview_file.sh;
# executable = true;
# };
"joshuto/joshuto.toml".source = ./joshuto.toml;
"joshuto/keymap.toml".source = ./keymap.toml;
"joshuto/mimetype.toml".source = ./mimetype.toml;
"joshuto/theme.toml".source = ./theme.toml;
};
}