nix: move joshuto to shared homeModules

This commit is contained in:
Primrose 2024-08-08 12:55:14 +02:00
parent a6a2e3c98a
commit c859cdfecf
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
8 changed files with 3 additions and 6 deletions

View file

@ -0,0 +1,26 @@
{ pkgs, ... }:
{
home.packages = [
pkgs.joshuto
# preview deps
pkgs.file
];
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;
};
}