added candyland as a lazy scheme

This commit is contained in:
Dea 2026-02-06 15:06:26 -05:00
parent 3d8354e42a
commit 9eed0d4612
2 changed files with 17 additions and 9 deletions

View file

@ -123,9 +123,7 @@
# ======================
# sudo nixos-rebuild switch --flake .
environment.systemPackages = with pkgs; [
# vim
wget
# neovim
lunarvim
vscode
python3
@ -178,11 +176,6 @@
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
programs.neovim = {
enable = true;
defaultEditor = true;
};
services.mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn; # mullvad only has the cli

View file

@ -1,5 +1,17 @@
{ pkgs, ... }:
let
candyland-nvim = pkgs.vimUtils.buildVimPlugin {
pname = "candyland-nvim";
version = "1.0";
src = pkgs.fetchFromGitHub {
owner = "AmberLehmann";
repo = "candyland.nvim";
rev = "neovim-colorscheme";
hash = "sha256-KEHMnpyJOhdF8ZPWuKF3uP7UX5fnzE31LMe+XxHK+i8=";
};
};
in
{
programs.nvf = {
enable = true;
@ -12,9 +24,12 @@
vim.lsp = {
enable = true;
};
vim.lazy.plugins.candyland-nvim = {
package = candyland-nvim;
colorscheme = "candyland-nvim";
};
vim.theme = {
enable = true;
# extraConfig = builtins.readFile ""
enable = false;
};
};
};