Restructure modules/shared and update all imports

- Delete 2024-12-rework/ folder
- Rename modules/hosts/common to modules/shared, then split into:
  - modules/shared/home/general
  - modules/shared/home/linux
  - modules/shared/nixos
- Update all import paths throughout the codebase
- Update lib/*.nix to use new paths
- Fix hardcoded /Users/${username} to use config.home.homeDirectory
- Update README and examples/flake-structure.nix
This commit is contained in:
Gene Liverman 2026-03-22 18:32:08 -04:00
parent 14fbadd9aa
commit 582f93d9ed
No known key found for this signature in database
78 changed files with 88 additions and 406 deletions

View file

@ -0,0 +1,14 @@
return {'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
},
init = function() vim.g.barbar_auto_setup = false end,
opts = {
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
-- animation = true,
-- insert_at_start = true,
-- …etc.
},
}

View file

@ -0,0 +1,9 @@
return {
"sudormrfbin/cheatsheet.nvim",
dependencies = {
'nvim-telescope/telescope.nvim',
'nvim-lua/popup.nvim',
'nvim-lua/plenary.nvim',
},
config = true,
}

View file

@ -0,0 +1,11 @@
return{
"nvim-tree/nvim-tree.lua",
config = function ()
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
require('nvim-tree').setup()
vim.keymap.set('n', '<c-n>', ':NvimTreeFindFileToggle<CR>')
end
}

View file

@ -0,0 +1,8 @@
return {
"Mofiqul/dracula.nvim",
lazy = false,
priority = 1000,
config = function()
vim.cmd.colorscheme("dracula")
end,
}

View file

@ -0,0 +1,11 @@
return {
"ellisonleao/gruvbox.nvim",
priority = 1000 ,
config = function ()
require("gruvbox").setup()
vim.o.background = "dark"
vim.o.termguicolors = true
vim.cmd.colorscheme "gruvbox"
end
}

View file

@ -0,0 +1,8 @@
return {
"rebelot/kanagawa.nvim",
lazy = false,
priority = 1000,
config = function()
vim.cmd.colorscheme "kanagawa"
end,
}

View file

@ -0,0 +1,8 @@
return {
"nyoom-engineering/oxocarbon.nvim",
config = function ()
vim.o.background = "dark"
vim.o.termguicolors = true
vim.cmd.colorscheme "oxocarbon"
end
}

View file

@ -0,0 +1,10 @@
return {
-- the colorscheme should be available when starting Neovim
"folke/tokyonight.nvim",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
-- load the colorscheme here
vim.cmd.colorscheme "tokyonight-storm"
end,
}