Add blender option and start making neovim great!

This commit is contained in:
Tyler Kelley 2024-02-08 13:14:37 -06:00
parent ed16a0d192
commit 30812d341a
4 changed files with 33 additions and 5 deletions

8
config/home/blender.nix Normal file
View File

@ -0,0 +1,8 @@
{ pkgs, config, lib, ... }:
let inherit (import ../../options.nix) blender; in
lib.mkIf (blender == true) {
home.packages = with pkgs; [
pkgs.blender-hip
];
}

View File

@ -8,9 +8,12 @@ in {
home.packages = with pkgs; [
pkgs."${browser}" discord libvirt swww grim slurp gnome.file-roller
swaynotificationcenter rofi-wayland imv transmission-gtk mpv
gimp obs-studio blender-hip godot_4 rustup audacity
font-awesome spotify swayidle neovide pavucontrol
element-desktop swaylock wezterm
gimp obs-studio godot_4 rustup audacity pavucontrol wezterm
font-awesome spotify swayidle neovide element-desktop swaylock
(vivaldi.override {
proprietaryCodecs = true;
enableWidevine = true;
})
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
# Import Scripts
(import ./../scripts/emopicker9000.nix { inherit pkgs; })

View File

@ -9,11 +9,21 @@ in {
plugins = {
telescope.enable = true;
neo-tree.enable = true;
airline = {
enable = true;
powerlineFonts = true;
theme = "tomorrow";
};
startup = {
enable = true;
theme = "evil";
userMappings = {
"<leader>ff" = "<cmd>Telescope find_files<CR>";
"<leader>s" = "<cmd>Telescope live_grep<CR>";
"<leader>f" = "<cmd>Neotree reveal right<CR>";
};
};
comment-nvim.enable = true;
lsp = {
enable = true;
@ -65,9 +75,9 @@ in {
extraConfigLua = ''
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>f', builtin.find_files, {})
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
vim.keymap.set('n', '<leader>s', function()
builtin.grep_string({ search = vim.fn.input("Grep > ") })
builtin.grep_string({ search = vim.fn.input("Grep > ") })
end)
'';
@ -84,6 +94,12 @@ in {
options.silent = false;
action = "<cmd>Ex<CR>";
}
{
mode = "n";
key = "<leader>f";
options.silent = false;
action = "<cmd>Neotree reveal right<CR>";
}
];
options = {

View File

@ -3,6 +3,7 @@
# https://gitlab.com/Zaney/zaneyos/-/wikis/Setting-Options
let
# YOU MUST CHANGE THIS
userHome = "/home/zaney";
in {
# User Variables