From 64ab21f7dd71b7c54641419f77c1be6dc682ed84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Thu, 3 Oct 2024 14:20:46 +0200 Subject: [PATCH] I'm working on micro-controllers again, can you tell? --- curacao/features.nix | 1 + hm/dev/c.nix | 5 ++++- os/dev/default.nix | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/curacao/features.nix b/curacao/features.nix index fa78240..8ec040f 100644 --- a/curacao/features.nix +++ b/curacao/features.nix @@ -5,6 +5,7 @@ xorg = true; }; dev = { + c = true; docker = true; vm = true; }; diff --git a/hm/dev/c.nix b/hm/dev/c.nix index 43bd29d..ac61597 100644 --- a/hm/dev/c.nix +++ b/hm/dev/c.nix @@ -28,7 +28,10 @@ programs.bash.shellAliases = { gdb = "gdb -x ${config.xdg.configHome}/gdbinit"; }; - programs.nixvim.plugins.dap.enable = true; # Debug Adapter Protocol client + programs.nixvim.plugins = { + dap.enable = true; # Debug Adapter Protocol client + lsp.servers.clangd.enable = true; + }; xdg.configFile = { "ccache.conf" = { text = "ccache_dir = ${config.xdg.cacheHome}/ccache"; diff --git a/os/dev/default.nix b/os/dev/default.nix index 6c7b92a..cae89a1 100644 --- a/os/dev/default.nix +++ b/os/dev/default.nix @@ -16,6 +16,8 @@ }; users.extraGroups.libvirtd.members = [ "geoffrey" ]; }) - + { + users.extraGroups.dialout.members = [ "geoffrey" ]; + } ]; }