Compare commits
2 commits
3438e5253d
...
db5b817a12
Author | SHA1 | Date | |
---|---|---|---|
joygnu | db5b817a12 | ||
joygnu | 5cb5fda6bd |
|
@ -26,6 +26,7 @@
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
modules = [
|
modules = [
|
||||||
|
|
|
@ -9,8 +9,6 @@ home.username = "joy";
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
};
|
};
|
||||||
qt.enable = true;
|
|
||||||
qt.style.name = "adwaita";
|
|
||||||
|
|
||||||
xdg.mimeApps.defaultApplications = {
|
xdg.mimeApps.defaultApplications = {
|
||||||
"text/plain" = ["neovide.desktop"];
|
"text/plain" = ["neovide.desktop"];
|
||||||
|
|
|
@ -1,44 +1,38 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./plugins
|
./plugins
|
||||||
./set.nix
|
];
|
||||||
];
|
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
vimAlias = true;
|
|
||||||
clipboard.register = "unnamedplus";
|
clipboard.register = "unnamedplus";
|
||||||
colorschemes.gruvbox.enable = true;
|
colorschemes.gruvbox.enable = true;
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
presence-nvim = {
|
|
||||||
enable = true;
|
|
||||||
mainImage = "file";
|
|
||||||
};
|
|
||||||
bufferline = {
|
|
||||||
enable = true;
|
|
||||||
separatorStyle = "slope";
|
|
||||||
};
|
|
||||||
treesitter = {
|
treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
indent = true;
|
indent = true;
|
||||||
nixvimInjections = true;
|
nixvimInjections = true;
|
||||||
};
|
};
|
||||||
treesitter-context.enable = true;
|
lualine.enable = true;
|
||||||
nvim-tree = {
|
|
||||||
enable = true;
|
|
||||||
renderer.groupEmpty = true;
|
|
||||||
};
|
|
||||||
lualine.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
keymaps = [
|
opts = {
|
||||||
{
|
number = true;
|
||||||
mode = "n";
|
tabstop = 2;
|
||||||
key = "<C-n>";
|
softtabstop = 2;
|
||||||
action = "<cmd>NvimTreeToggle<CR>";
|
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 = [
|
imports = [
|
||||||
./alpha.nix
|
|
||||||
./cmp.nix
|
./cmp.nix
|
||||||
./lsp.nix
|
./lsp.nix
|
||||||
./luasnip.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 = [
|
imports = [
|
||||||
./fonts
|
# ./fonts
|
||||||
./sound
|
./sound
|
||||||
./vm
|
./vm
|
||||||
./packages
|
./packages
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
{
|
{
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
font-awesome
|
font-awesome
|
||||||
(nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" "Iosevka" ]; })
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,5 +56,6 @@
|
||||||
yt-dlp
|
yt-dlp
|
||||||
distrobox
|
distrobox
|
||||||
vim
|
vim
|
||||||
|
font-awesome
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,11 +22,17 @@
|
||||||
base0F = "d65d0e";
|
base0F = "d65d0e";
|
||||||
};
|
};
|
||||||
image = ./wallpaper.png;
|
image = ./wallpaper.png;
|
||||||
fonts.sizes.terminal = 14;
|
|
||||||
targets.chromium.enable = false;
|
targets.chromium.enable = false;
|
||||||
cursor.name = "Bibata-Modern-Ice";
|
cursor.name = "Bibata-Modern-Ice";
|
||||||
cursor.package = pkgs.bibata-cursors;
|
cursor.package = pkgs.bibata-cursors;
|
||||||
cursor.size = 24;
|
cursor.size = 24;
|
||||||
fonts.sizes.desktop = 12;
|
fonts = {
|
||||||
|
sizes = {
|
||||||
|
applications = 12;
|
||||||
|
terminal = 14;
|
||||||
|
desktop = 12;
|
||||||
|
popups = 12;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue