Add clang-format to home-manager
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
9
home-manager/dotfiles/clang.nix
Normal file
9
home-manager/dotfiles/clang.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file.".clang-format".text = ''
|
||||
---
|
||||
Language: Cpp
|
||||
BasedOnStyle: Google
|
||||
'';
|
||||
}
|
7
home-manager/dotfiles/default.nix
Normal file
7
home-manager/dotfiles/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./clang.nix
|
||||
];
|
||||
}
|
@@ -15,12 +15,11 @@
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./nvim.nix
|
||||
|
||||
./IDEs
|
||||
./development
|
||||
|
||||
./tools
|
||||
|
||||
./dotfiles
|
||||
./git
|
||||
./IDEs
|
||||
./tools
|
||||
./zsh
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user