tree
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
{ config, lib, pkgs, inputs, ... }:
|
{ config, lib, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./waybar.nix ];
|
imports = [ ./waybar.nix ./mako.nix ];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home-manager.users.jeremy = { ... }: {
|
||||||
|
xdg.configFile."mako/config".source = ./mako/config;
|
||||||
|
};
|
||||||
|
}
|
||||||
+47
@@ -0,0 +1,47 @@
|
|||||||
|
font=JetBrainsMono Nerd Font 11
|
||||||
|
background-color=#1a1b26ee
|
||||||
|
text-color=#c0caf5
|
||||||
|
border-color=#7aa2f7
|
||||||
|
progress-color=over #7aa2f733
|
||||||
|
border-size=2
|
||||||
|
border-radius=12
|
||||||
|
padding=14,18
|
||||||
|
margin=12
|
||||||
|
default-timeout=5000
|
||||||
|
ignore-timeout=0
|
||||||
|
width=380
|
||||||
|
height=140
|
||||||
|
icons=1
|
||||||
|
max-icon-size=48
|
||||||
|
icon-location=left
|
||||||
|
icon-border-radius=8
|
||||||
|
layer=overlay
|
||||||
|
anchor=top-right
|
||||||
|
outer-margin=10
|
||||||
|
max-visible=5
|
||||||
|
group-by=app-name
|
||||||
|
format=<b>%s</b>\n%b
|
||||||
|
|
||||||
|
[urgency=low]
|
||||||
|
border-color=#565f89
|
||||||
|
text-color=#acb0d0
|
||||||
|
default-timeout=4000
|
||||||
|
|
||||||
|
[urgency=normal]
|
||||||
|
border-color=#7aa2f7
|
||||||
|
|
||||||
|
[urgency=critical]
|
||||||
|
border-color=#f7768e
|
||||||
|
text-color=#f7768e
|
||||||
|
background-color=#1a1b26f2
|
||||||
|
default-timeout=0
|
||||||
|
|
||||||
|
[category=mpd]
|
||||||
|
border-color=#9ece6a
|
||||||
|
default-timeout=2000
|
||||||
|
|
||||||
|
[app-name=discord]
|
||||||
|
border-color=#bb9af7
|
||||||
|
|
||||||
|
[app-name=Slack]
|
||||||
|
border-color=#e0af68
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
neovim
|
||||||
|
git
|
||||||
|
gcc
|
||||||
|
gnumake
|
||||||
|
ripgrep
|
||||||
|
fd
|
||||||
|
lazygit
|
||||||
|
tree-sitter
|
||||||
|
nodejs
|
||||||
|
unzip
|
||||||
|
wget
|
||||||
|
curl
|
||||||
|
xclip
|
||||||
|
wl-clipboard
|
||||||
|
nerd-fonts.jetbrains-mono
|
||||||
|
];
|
||||||
|
|
||||||
|
home-manager.users.jeremy = { ... }: {
|
||||||
|
xdg.configFile."nvim/init.lua".source = ./nvim/init.lua;
|
||||||
|
xdg.configFile."nvim/lua/config/lazy.lua".source = ./nvim/lua/config/lazy.lua;
|
||||||
|
xdg.configFile."nvim/lua/config/options.lua".source = ./nvim/lua/config/options.lua;
|
||||||
|
xdg.configFile."nvim/lua/config/keymaps.lua".source = ./nvim/lua/config/keymaps.lua;
|
||||||
|
xdg.configFile."nvim/lua/config/autocmds.lua".source = ./nvim/lua/config/autocmds.lua;
|
||||||
|
xdg.configFile."nvim/lua/plugins/example.lua".source = ./nvim/lua/plugins/example.lua;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
require("config.lazy")
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
|
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||||
|
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||||
|
if vim.v.shell_error ~= 0 then
|
||||||
|
vim.api.nvim_echo({
|
||||||
|
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||||
|
{ out, "WarningMsg" },
|
||||||
|
{ "\nPress any key to exit..." },
|
||||||
|
}, true, {})
|
||||||
|
vim.fn.getchar()
|
||||||
|
os.exit(1)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
require("lazy").setup({
|
||||||
|
spec = {
|
||||||
|
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
||||||
|
{ import = "plugins" },
|
||||||
|
},
|
||||||
|
defaults = {
|
||||||
|
lazy = false,
|
||||||
|
version = false,
|
||||||
|
},
|
||||||
|
install = { colorscheme = { "tokyonight", "habamax" } },
|
||||||
|
checker = { enabled = true },
|
||||||
|
performance = {
|
||||||
|
rtp = {
|
||||||
|
disabled_plugins = {
|
||||||
|
"gzip",
|
||||||
|
"tarPlugin",
|
||||||
|
"tohtml",
|
||||||
|
"tutor",
|
||||||
|
"zipPlugin",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
vim.g.mapleader = " "
|
||||||
|
vim.g.maplocalleader = "\\"
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
return {}
|
||||||
@@ -1,5 +1,9 @@
|
|||||||
{ config, lib, pkgs, inputs, ... }:
|
{ config, lib, pkgs, inputs, ... }:
|
||||||
{
|
{
|
||||||
|
imports = [ ./nvim.nix ];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [ tree ];
|
||||||
|
|
||||||
programs.ssh.extraConfig = ''
|
programs.ssh.extraConfig = ''
|
||||||
Host rocky
|
Host rocky
|
||||||
Hostname 100.125.188.0
|
Hostname 100.125.188.0
|
||||||
|
|||||||
Reference in New Issue
Block a user