mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 03:08:11 +09:00
30 lines
566 B
Nix
30 lines
566 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.applications.ghostty.homeManager;
|
|
in
|
|
{
|
|
options.my.applications.ghostty.homeManager = {
|
|
enable = lib.mkEnableOption "ghostty home-manager configuration";
|
|
};
|
|
|
|
config.home-manager.sharedModules = [
|
|
{
|
|
config = lib.mkIf cfg.enable {
|
|
home.file.".config/ghostty/config" = {
|
|
recursive = true;
|
|
source = ./config;
|
|
};
|
|
|
|
home.file.".config/ghostty/themes/dracula" = {
|
|
recursive = true;
|
|
source = ./dracula.theme;
|
|
};
|
|
};
|
|
}
|
|
];
|
|
}
|