summaryrefslogtreecommitdiff
path: root/config/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-18 01:28:42 -0500
committerseth <[email protected]>2023-12-18 02:18:35 -0500
commit8faa242f21648e52a6bbdfa803fd4ea1b0e347e0 (patch)
treeeff6694cefb2f821bf19b0d8cb3d97bf48cb15b9 /config/default.nix
parent9fe8afd0c5f2b439176728d8863570bf22614dbd (diff)
port to nixvim
Diffstat (limited to 'config/default.nix')
-rw-r--r--config/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/config/default.nix b/config/default.nix
new file mode 100644
index 0000000..79756d6
--- /dev/null
+++ b/config/default.nix
@@ -0,0 +1,32 @@
+{pkgs, ...}: {
+ imports = [
+ ./plugins
+ ./keymaps.nix
+ ];
+
+ config = {
+ clipboard.providers.wl-copy.enable = pkgs.stdenv.isLinux;
+
+ colorschemes.catppuccin = {
+ enable = true;
+ flavour = "mocha";
+
+ disableItalic = true;
+ };
+
+ enableMan = false;
+
+ globals = {
+ mapleader = ",";
+ };
+
+ options = {
+ shiftwidth = 2;
+ tabstop = 2;
+ smartindent = true;
+ wrap = true;
+ syntax = "on";
+ termguicolors = true;
+ };
+ };
+}