Compare commits
2 commits
3438e5253d
...
db5b817a12
Author | SHA1 | Date | |
---|---|---|---|
joygnu | db5b817a12 | ||
joygnu | 5cb5fda6bd |
|
@ -26,6 +26,7 @@
|
|||
inputs.stylix.nixosModules.stylix
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
|
|
|
@ -9,8 +9,6 @@ home.username = "joy";
|
|||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
qt.enable = true;
|
||||
qt.style.name = "adwaita";
|
||||
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"text/plain" = ["neovide.desktop"];
|
||||
|
|
|
@ -2,43 +2,37 @@
|
|||
{
|
||||
imports = [
|
||||
./plugins
|
||||
./set.nix
|
||||
];
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
vimAlias = true;
|
||||
clipboard.register = "unnamedplus";
|
||||
colorschemes.gruvbox.enable = true;
|
||||
|
||||
plugins = {
|
||||
presence-nvim = {
|
||||
enable = true;
|
||||
mainImage = "file";
|
||||
};
|
||||
bufferline = {
|
||||
enable = true;
|
||||
separatorStyle = "slope";
|
||||
};
|
||||
treesitter = {
|
||||
enable = true;
|
||||
indent = true;
|
||||
nixvimInjections = true;
|
||||
};
|
||||
treesitter-context.enable = true;
|
||||
nvim-tree = {
|
||||
enable = true;
|
||||
renderer.groupEmpty = true;
|
||||
};
|
||||
lualine.enable = true;
|
||||
};
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<C-n>";
|
||||
action = "<cmd>NvimTreeToggle<CR>";
|
||||
}
|
||||
];
|
||||
opts = {
|
||||
number = true;
|
||||
tabstop = 2;
|
||||
softtabstop = 2;
|
||||
showtabline = 2;
|
||||
expandtab = true;
|
||||
shiftwidth = 2;
|
||||
smartindent = true;
|
||||
breakindent = true;
|
||||
cursorline = true;
|
||||
scrolloff = 8;
|
||||
cmdheight = 0;
|
||||
wrap = true;
|
||||
termguicolors = true;
|
||||
# showmode = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,78 +0,0 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.nixvim.plugins.alpha = {
|
||||
enable = true;
|
||||
layout = [
|
||||
{
|
||||
type = "padding";
|
||||
val = 4;
|
||||
}
|
||||
{
|
||||
opts = {
|
||||
hl = "AlphaHeader";
|
||||
position = "center";
|
||||
};
|
||||
type = "text";
|
||||
val = [
|
||||
" ▄▄▄█████▓ ▒█████ ███▄ ▄███▓ "
|
||||
" ▓ ██▒ ▓▒▒██▒ ██▒▓██▒▀█▀ ██▒ "
|
||||
" ▒ ▓██░ ▒░▒██░ ██▒▓██ ▓██░ "
|
||||
" ░ ▓██▓ ░ ▒██ ██░▒██ ▒██ "
|
||||
" ▒██▒ ░ ░ ████▓▒░▒██▒ ░██▒ "
|
||||
" ▒ ░░ ░ ▒░▒░▒░ ░ ▒░ ░ ░ "
|
||||
" ░ ░ ▒ ▒░ ░ ░ ░ "
|
||||
" ░ ░ ░ ░ ▒ ░ ░ "
|
||||
" ░ ░ ░ "
|
||||
" "
|
||||
" git@github.com:TomJuri "
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "padding";
|
||||
val = 2;
|
||||
}
|
||||
{
|
||||
type = "group";
|
||||
val = let
|
||||
mkButton = shortcut: cmd: val: hl: {
|
||||
type = "button";
|
||||
inherit val;
|
||||
opts = {
|
||||
inherit hl shortcut;
|
||||
keymap = [
|
||||
"n"
|
||||
shortcut
|
||||
cmd
|
||||
{}
|
||||
];
|
||||
position = "center";
|
||||
cursor = 0;
|
||||
width = 40;
|
||||
align_shortcut = "right";
|
||||
hl_shortcut = "Keyword";
|
||||
};
|
||||
};
|
||||
in [
|
||||
(
|
||||
mkButton
|
||||
"f"
|
||||
"<CMD>lua require('telescope.builtin').find_files({hidden = true})<CR>"
|
||||
"🔍 Find File"
|
||||
"Operator"
|
||||
)
|
||||
(
|
||||
mkButton
|
||||
"q"
|
||||
"<CMD>qa<CR>"
|
||||
"💣 Quit"
|
||||
"String"
|
||||
)
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "padding";
|
||||
val = 2;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./alpha.nix
|
||||
./cmp.nix
|
||||
./lsp.nix
|
||||
./luasnip.nix
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.nixvim = {
|
||||
globals.mapleader = " ";
|
||||
|
||||
opts = {
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
|
||||
tabstop = 2;
|
||||
softtabstop = 2;
|
||||
showtabline = 2;
|
||||
expandtab = true;
|
||||
|
||||
shiftwidth = 2;
|
||||
smartindent = true;
|
||||
|
||||
breakindent = true;
|
||||
cursorline = true;
|
||||
scrolloff = 8;
|
||||
cmdheight = 0;
|
||||
wrap = true;
|
||||
termguicolors = true;
|
||||
colorcolumn = "150";
|
||||
showmode = false;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./fonts
|
||||
# ./fonts
|
||||
./sound
|
||||
./vm
|
||||
./packages
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
{
|
||||
fonts.packages = with pkgs; [
|
||||
font-awesome
|
||||
(nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" "Iosevka" ]; })
|
||||
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||
];
|
||||
}
|
||||
|
|
|
@ -56,5 +56,6 @@
|
|||
yt-dlp
|
||||
distrobox
|
||||
vim
|
||||
font-awesome
|
||||
];
|
||||
}
|
||||
|
|
|
@ -22,11 +22,17 @@
|
|||
base0F = "d65d0e";
|
||||
};
|
||||
image = ./wallpaper.png;
|
||||
fonts.sizes.terminal = 14;
|
||||
targets.chromium.enable = false;
|
||||
cursor.name = "Bibata-Modern-Ice";
|
||||
cursor.package = pkgs.bibata-cursors;
|
||||
cursor.size = 24;
|
||||
fonts.sizes.desktop = 12;
|
||||
fonts = {
|
||||
sizes = {
|
||||
applications = 12;
|
||||
terminal = 14;
|
||||
desktop = 12;
|
||||
popups = 12;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue