Use packaged lunarvim

This commit is contained in:
asonix 2023-11-29 19:10:51 -06:00
parent 50fac7874a
commit ac1da8fb1c
5 changed files with 5 additions and 68 deletions

View file

@ -37,22 +37,6 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1701068326,
"narHash": "sha256-vmMceA+q6hG1yrjb+MP8T0YFDQIrW3bl45e7z24IEts=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "8cfef6986adfb599ba379ae53c9f5631ecd2fd9c",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"obs-scene-switcher": {
"inputs": {
"nixpkgs": [
@ -97,7 +81,6 @@
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"obs-scene-switcher": "obs-scene-switcher",
"obs-streamfx": "obs-streamfx"
}

View file

@ -4,7 +4,6 @@
inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -1,9 +1,6 @@
{ config, pkgs, system, nixpkgs-unstable, obs-scene-switcher, obs-streamfx, ... }:
{ config, pkgs, system, obs-scene-switcher, obs-streamfx, ... }:
let
unstable = import nixpkgs-unstable {
inherit system;
};
setIcon = ''
#!/usr/bin/env bash
@ -50,6 +47,7 @@ in
prismlauncher
shticker-book-unwritten
tdesktop
vesktop
vlc
wireshark

View file

View file

@ -1,61 +1,18 @@
{ nixpkgs-unstable, system, ... }:
{ pkgs, ... }:
let
unstable = import nixpkgs-unstable {
inherit system;
};
in
{
home.packages = with unstable; [
home.packages = with pkgs; [
code-minimap
fd
gcc
gnumake
lunarvim
nodejs
python310Full
python310Packages.pynvim
ripgrep
tree-sitter
wl-clipboard
(wrapNeovim neovim-unwrapped {
viAlias = true;
vimAlias = true;
withNodeJs = true;
withPython3 = true;
extraPython3Packages = (ps: [ps.pynvim]);
withRuby = true;
configure = {
customRc = "source .${./init.lua}";
packages.myVimPackage = {
start = with vimPlugins; [
base16-vim
cmp_luasnip
cmp-nvim-lsp
cmp-path
comment-nvim
indent-blankline-nvim
lir-nvim
lualine-nvim
luasnip
minimap-vim
nvim-autopairs
nvim-base16
nvim-cmp
nvim-lspconfig
nvim-lsputils
nvim-treesitter.withAllGrammars
nvim-ts-context-commentstring
plenary-nvim
popup-nvim
rust-tools-nvim
telescope-fzf-native-nvim
telescope-nvim
telescope-lsp-handlers-nvim
toggleterm-nvim
];
};
};
})
xclip
];
}