diff --git a/hosts/macbook/home.nix b/hosts/macbook/home.nix index e99b334..dd23278 100644 --- a/hosts/macbook/home.nix +++ b/hosts/macbook/home.nix @@ -16,6 +16,7 @@ ../../modules/home-manager/nix-index.nix ../../modules/home-manager/bitwarden.nix ../../modules/home-manager/latex.nix + ../../modules/home-manager/ghostty.nix ]; home.username = "mthomson"; home.homeDirectory = "/Users/mthomson"; diff --git a/modules/home-manager/ghostty.nix b/modules/home-manager/ghostty.nix new file mode 100644 index 0000000..b279d5f --- /dev/null +++ b/modules/home-manager/ghostty.nix @@ -0,0 +1,15 @@ +{ + pkgs, + config, + ... +}: { + programs.ghostty = { + enable = true; + enableZshIntegration = true; + installVimSyntax = true; + settings = { + font-family = "JetBrainsMono Nerd Font Mono"; + macos-titlebar-style = "hidden"; + }; + }; +} diff --git a/modules/home-manager/kitty/default.nix b/modules/home-manager/kitty/default.nix index 0fc35f8..ec14730 100644 --- a/modules/home-manager/kitty/default.nix +++ b/modules/home-manager/kitty/default.nix @@ -17,9 +17,10 @@ # darwinLaunchOptions = [ # "--single-instance" # ]; - # settings = { - # background_opacity = "0.9"; - # background_blur = 5; - # }; + settings = { + # background_opacity = "0.9"; + # background_blur = 5; + hide_window_decorations = "titlebar-only"; + }; }; } diff --git a/modules/home-manager/nixvim/default.nix b/modules/home-manager/nixvim/default.nix index e797fa5..850905c 100644 --- a/modules/home-manager/nixvim/default.nix +++ b/modules/home-manager/nixvim/default.nix @@ -370,36 +370,36 @@ lib, picker = "minipick"; }; }; - # obsidian = { - # enable = true; - # settings = { - # completion = { - # min_chars = 1; - # nvim_cmp = true; - # }; - # notes_subir = "notes"; - # new_notes_location = "notes_subdir"; - # templates = { - # folder = "templates"; - # }; - # workspaces = [ - # { - # name = "personal"; - # path = "~/vaults/personal"; - # } - # ]; - # picker = { - # name = "mini.pick"; - # }; - # daily_notes = { - # folder = "dailies"; - # default_tags = [ "type/daily" ]; - # }; - # }; - # }; - # render-markdown = { - # enable = true; - # }; + obsidian = { + enable = true; + settings = { + completion = { + min_chars = 1; + nvim_cmp = true; + }; + notes_subir = "notes"; + new_notes_location = "notes_subdir"; + templates = { + folder = "templates"; + }; + workspaces = [ + { + name = "personal"; + path = "~/vaults/personal"; + } + ]; + picker = { + name = "mini.pick"; + }; + daily_notes = { + folder = "dailies"; + default_tags = [ "type/daily" ]; + }; + }; + }; + render-markdown = { + enable = true; + }; friendly-snippets = { enable = true; }; @@ -499,6 +499,10 @@ lib, }; }; }; + hls = { + enable = true; + installGhc = true; + }; ts_ls = { enable = true; };