Skip to content

Commit

Permalink
refactor: simplify flake template
Browse files Browse the repository at this point in the history
  • Loading branch information
konradmalik committed Oct 10, 2023
1 parent d6dc8a5 commit c58cba2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 28 deletions.
25 changes: 21 additions & 4 deletions templates/default/.nvim.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
local lsp = require("konrad.lsp")
lsp.add("nil_ls")
require("konrad.lsp").setup({
-- "ansiblels",
-- efm = {
-- 'black'
-- 'stylua'
-- },
-- "gopls",
-- "jsonls",
-- "lua_ls",
"nil_ls",
-- "omnisharp",
-- "pyright",
-- "rust_analyzer",
-- "terraformls",
-- "yamlls",
})

local null = require("null-ls")
lsp.add("null-ls", null.builtins.formatting.nixpkgs_fmt)
-- require("konrad.dap").setup({
-- "cs",
-- "go",
-- "python",
-- })
10 changes: 0 additions & 10 deletions templates/default/default.nix

This file was deleted.

4 changes: 0 additions & 4 deletions templates/default/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
};

outputs = { self, nixpkgs, nixpkgs-unstable, ... }:
Expand Down
10 changes: 0 additions & 10 deletions templates/default/shell.nix

This file was deleted.

0 comments on commit c58cba2

Please sign in to comment.