diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-09-28 00:01:09 -0500 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-09-28 00:01:09 -0500 |
commit | b7e84fa6048007cda7e6c8226e28bc2db90f792a (patch) | |
tree | 170bcaff17d7aec0c6aac5807c7a5857dbd71def /nixos/.flake/home/clang-format.nix.org | |
parent | 7b2986845fde19db57703dad1105359913486abd (diff) |
add file extensions to files
Diffstat (limited to 'nixos/.flake/home/clang-format.nix.org')
-rw-r--r-- | nixos/.flake/home/clang-format.nix.org | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nixos/.flake/home/clang-format.nix.org b/nixos/.flake/home/clang-format.nix.org new file mode 100644 index 0000000..64a2a64 --- /dev/null +++ b/nixos/.flake/home/clang-format.nix.org @@ -0,0 +1,15 @@ +#+title: Clang Format Default Options + +#+begin_src nix :tangle ~/.flake/home/clang-format.nix :mkdirp yes + { config, pkgs, ... }: + + { + home.file.".clang-format".text = '' + BasedOnStyle: LLVM + IndentWidth: 4 + BreakBeforeBraces: Linux + AllowShortIfStatementsOnASingleLine: false + IndentCaseLabels: false + ''; + } +#+end_src |