summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/home.nix b/home.nix
index f64e272..8a99503 100644
--- a/home.nix
+++ b/home.nix
@@ -27,6 +27,17 @@
nix-direnv.enable = true;
};
+
+ editorconfig = {
+ enable = true;
+ settings = {
+ "*.{fnl,rkt,nix,md,hcl,tf,py,cpp,qml,js,txt,json,html,lua,yaml,yml,bash,sh,go}" = {
+ trim_trailing_whitespace = true;
+ insert_final_newline = true;
+ };
+ };
+ };
+
programs.newsboat = {
enable = true;
autoReload = true;