aboutsummaryrefslogtreecommitdiff
path: root/nixos/.flake/home/clang-format.org
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-09-27 21:17:08 -0500
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-09-27 21:17:08 -0500
commit3133bb13089c42eafcca9f9d0e96f79df2e42fd8 (patch)
tree69066bfcd6df1e4244c48de7bf445f200c520b15 /nixos/.flake/home/clang-format.org
parent7edb3349287bdf182510f1b377583fc9988c6dbb (diff)
move everything but emacs into flake
Diffstat (limited to 'nixos/.flake/home/clang-format.org')
-rw-r--r--nixos/.flake/home/clang-format.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/nixos/.flake/home/clang-format.org b/nixos/.flake/home/clang-format.org
new file mode 100644
index 0000000..64a2a64
--- /dev/null
+++ b/nixos/.flake/home/clang-format.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