Compare commits
No commits in common. "a3cfc55e0a3ff82ed53b6db163ea0b04186b440b" and "eddcb86e76b156ac3a935c55b2f2c411cc4fe01f" have entirely different histories.
a3cfc55e0a
...
eddcb86e76
9 changed files with 1 additions and 76 deletions
|
@ -1,9 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./editors/helix
|
||||
./neofetch
|
||||
./nushell
|
||||
./starship
|
||||
./helix
|
||||
./git
|
||||
./lazygit
|
||||
./direnv
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
vim.opt.shiftwidth = 2
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
-- general
|
||||
lvim.log.level = "info"
|
||||
lvim.format_on_save = { enabled = true, pattern = "*.lua", timeout = 1000 }
|
||||
-- to disable icons and use a minimalist setup, uncomment the following
|
||||
|
||||
|
||||
-- keymappings <https://www.lunarvim.org/docs/configuration/keybindings>
|
||||
lvim.leader = "space"
|
||||
-- add your own keymapping
|
||||
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
|
||||
|
||||
-- -- Change theme settings
|
||||
lvim.colorscheme = "lunar"
|
||||
lvim.transparent_window = true
|
||||
|
||||
lvim.builtin.alpha.active = true
|
||||
lvim.builtin.alpha.mode = "dashboard"
|
||||
lvim.builtin.terminal.active = true
|
||||
lvim.builtin.nvimtree.setup.view.side = "left"
|
||||
lvim.builtin.nvimtree.setup.renderer.icons.show.git = false
|
||||
|
||||
-- Automatically install missing parsers when entering buffer
|
||||
lvim.builtin.treesitter.auto_install = true
|
||||
|
||||
lvim.plugins = {
|
||||
{
|
||||
"andweeb/presence.nvim",
|
||||
config = function() require("user.presence").config() end
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.lunarvim];
|
||||
xdg.configFile."lvim/config.lua".source = ./config.lua;
|
||||
xdg.configFile."lvim/lua/user/presence.lua".source = ./lua/presence.lua;
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
local M = {}
|
||||
|
||||
M.config = function()
|
||||
local status_ok, presence = pcall(require, "presence")
|
||||
if not status_ok then return end
|
||||
|
||||
presence:setup {
|
||||
auto_update = true,
|
||||
neovim_image_text = "LunarVim",
|
||||
main_image = "file",
|
||||
client_id = "793271441293967371",
|
||||
buttons = true,
|
||||
log_level = nil,
|
||||
debounce_timeout = 10,
|
||||
enable_line_number = true, -- Displays the current line number instead of the current project
|
||||
editing_text = "Editing %s", -- string rendered when an editable file is loaded in the buffer
|
||||
file_explorer_text = "Browsing %s", -- Format string rendered when browsing a file explorer
|
||||
git_commit_text = "Committing changes", -- string rendered when commiting changes in git
|
||||
plugin_manager_text = "Managing plugins", -- Format string rendered when managing plugins
|
||||
reading_text = "Reading %s", -- string rendered when a read-only file is loaded in the buffer
|
||||
workspace_text = "Working on %s", -- Workspace format string (either string or function(git_project_name: string|nil, buffer: string): string)
|
||||
line_number_text = "Line %s out of %s" -- Line number string (for when enable_line_number is set to true)
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
|
@ -20,13 +20,6 @@
|
|||
command = lib.getExe rustfmt;
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "lua";
|
||||
auto-format = true;
|
||||
formatter = {
|
||||
command = lib.getExe luaformatter;
|
||||
};
|
||||
}
|
||||
];
|
||||
language-server = with pkgs; {
|
||||
nil = {
|
|
@ -9,14 +9,12 @@ alias la = eza -alughH --git --icons
|
|||
alias calc = eva
|
||||
alias c = clear
|
||||
alias f = yazi
|
||||
alias v = lvim
|
||||
alias cat = bat
|
||||
alias rm = rm -i
|
||||
alias cp = cp -i
|
||||
alias mv = mv -i
|
||||
alias build = nh os switch . --nom
|
||||
alias clean = sudo nh clean all
|
||||
alias deploy = nix run github:serokell/deploy-rs
|
||||
alias sakura = nix run github:serokell/deploy-rs ".#sakura"
|
||||
alias kariru = nix run github:serokell/deploy-rs ".#kariru"
|
||||
alias yuki = nix run github:serokell/deploy-rs ".#yuki"
|
||||
|
@ -29,7 +27,6 @@ alias dx = nix run "nixpkgs#deadnix"
|
|||
alias sx = nix run "nixpkgs#statix" -- check
|
||||
alias sxfix = nix run "nixpkgs#statix" -- fix
|
||||
alias dl = yt-dlp -P ~/Videos/downloaded
|
||||
alias dlad = yt-dlp -x --audio-format mp3 --embed-thumbnail
|
||||
alias dlcd = yt-dlp
|
||||
alias up = rpaste -s "https://i.flake.sh/" -e 1day
|
||||
alias shorten = rpaste -s "https://i.flake.sh/" -e 1day -u
|
||||
|
|
Loading…
Reference in a new issue