ghostty: initial program
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
fb4b434fce
commit
cfdbf4a977
2 changed files with 29 additions and 0 deletions
|
@ -32,6 +32,7 @@ with lib; {
|
|||
dconf.enable = true;
|
||||
firefox.enable = true;
|
||||
#// foot.enable = true;
|
||||
ghostty.enable = true;
|
||||
#// gnome-terminal.enable = true;
|
||||
#// kdeconnect.enable = true;
|
||||
kitty.enable = true;
|
||||
|
|
28
options/custom/programs/ghostty.nix
Normal file
28
options/custom/programs/ghostty.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.custom.programs.ghostty;
|
||||
hm = config.home-manager.users.${config.custom.username};
|
||||
in {
|
||||
options.custom.programs.ghostty = {
|
||||
enable = mkOption {default = false;};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
# https://ghostty.org/
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
|
||||
# https://ghostty.org/docs/config/reference
|
||||
settings = {
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue