From d160a5898459d0b7b440a82cf0d9fd6534617d6d Mon Sep 17 00:00:00 2001 From: lucy Date: Thu, 29 Oct 2026 11:59:00 +0100 Subject: [PATCH] add clangd config file --- modules/home/programs/clangd.nix | 10 ++++++++++ modules/system/core/user.nix | 1 + 2 files changed, 11 insertions(+) create mode 100644 modules/home/programs/clangd.nix diff --git a/modules/home/programs/clangd.nix b/modules/home/programs/clangd.nix new file mode 100644 index 0000000..9cfc58c --- /dev/null +++ b/modules/home/programs/clangd.nix @@ -0,0 +1,10 @@ +{ ... }: { + flake.homeModules.clangd = { + home.file."clangd" = { + text = '' + BreakBeforeBraces: Allman + IndentWidth: 8 + ''; + }; + }; +} diff --git a/modules/system/core/user.nix b/modules/system/core/user.nix index 6f43809..0830502 100644 --- a/modules/system/core/user.nix +++ b/modules/system/core/user.nix @@ -30,6 +30,7 @@ }; home-manager.sharedModules = with self.homeModules; [ btop + clangd nixcord ghostty hermes