initial commit x2

This commit is contained in:
sophron
2025-06-23 00:47:36 +05:00
commit f2f225110a
193 changed files with 4737 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
{ pkgs, ... }: {
programs.fastfetch = {
enable = true;
package = pkgs.fastfetch;
settings = {
logo.source = "nixos_small";
display.separator = " :: ";
modules = [
{
type = "os";
key = "dis";
}
{
type = "kernel";
key = "krn";
}
{
type = "uptime";
key = "upt";
}
{
type = "packages";
key = "pks";
}
{
type = "wm";
key = "wdm";
}
];
};
};
}

View File

@@ -0,0 +1,7 @@
{ config, ... }: {
programs.git = {
enable = true;
userName = "chronoblade";
userEmail = "sophr.temin@ro.ru";
};
}

View File

@@ -0,0 +1,15 @@
{ pkgs, ... }: {
programs.kitty = {
enable = true;
package = pkgs.kitty;
font = {
size = 10;
name = "JetBrainsMono NF";
};
settings = {
cursor_shape = "beam";
window_padding_width = 6;
};
themeFile = "gruvbox-dark";
};
}

View File

@@ -0,0 +1,24 @@
{ pkgs, ... }: {
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped;
defaultEditor = true;
plugins = with pkgs.vimPlugins; [
vim-plug
gruvbox-nvim
yuck-vim
bufferline-nvim
nvim-web-devicons
nvim-lspconfig
];
extraConfig = ''
colorscheme gruvbox
set tabstop=2
set softtabstop=2
set shiftwidth=2
set laststatus=0
set number
set shortmess+=I
'';
};
}

66
home-manager/apps/zsh.nix Normal file
View File

@@ -0,0 +1,66 @@
{ pkgs, ... }: {
programs.zsh = {
enable = true;
package = pkgs.zsh;
plugins = [{
name = "zsh-autosuggestions";
src = pkgs.zsh-autosuggestions;
}
{
name = "zsh-highlighting";
src = pkgs.zsh-syntax-highlighting;
}];
shellAliases =
let
conf = "/home/chronoblade/nix/system/default.nix";
args = "-- --impure -I";
flake = "FLAKE='/home/chronoblade/nix'";
in {
"nhs" = "${flake} nh home switch ${args} ${conf}";
"nhsu" = "${flake} nh home switch --update ${args} ${conf}";
"nos" = "${flake} nh os switch ${args} ${conf}";
"nosu" = "${flake} nh os switch --update ${args} ${conf}";
"nca" = "${flake} nh clean all";
};
syntaxHighlighting = {
enable = true;
highlighters = [ "main" "brackets" "pattern" "regexp" "root" "line" ];
styles =
let
fg = "#282828";
red = "#cc241d";
green = "#98971a";
yellow = "#79921";
blue = "#458588";
orange = "#d65d0e";
aqua = "#689d6a";
purple = "#b16286";
gray = "#a89984";
in {
command = "fg=${blue},bold";
unknown-token = "fg=${red},bold";
reserved-word = "fg=${blue},bold";
alias = "fg=${aqua},bold";
builtin = "fg=${aqua},bold";
function = "fg=${fg},bold";
commandseparator = "fg=${green},bold";
path = "fg=${aqua},bold";
path_pathseparator = "fg=${aqua},bold";
globbing = "fg=${blue},bold";
command-sustitution = "fg=${green},bold";
single-hyphen-option = "fg=${green},bold";
double-hyphen-option = "fg=${aqua},bold";
back-quoted-argument = "fg=${yellow},bold";
single-quoted-argument = "fg=${yellow},bold";
double-quoted-argument = "fg=${yellow},bold";
redirection = "fg=${purple},bold";
comment = "fg=${gray},bold";
arg0 = "fg=${blue},bold";
default = "fg=${blue},bold";
};
};
initExtra = ''
export PROMPT="%m %2~ %B::%b "
'';
};
}