This commit is contained in:
2025-10-11 19:10:48 +05:00
commit d0401c8c07
27 changed files with 1240 additions and 0 deletions

33
home/cli/fastfetch.nix Normal file
View File

@@ -0,0 +1,33 @@
{ 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";
}
];
};
};
}

16
home/cli/neovim.nix Normal file
View File

@@ -0,0 +1,16 @@
{ pkgs, config, ... }: {
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped;
defaultEditor = true;
extraPackages = with pkgs; [
nil
];
plugins = with pkgs.vimPlugins; [
lazy-nvim
nvim-lspconfig
nvim-tree-lua
];
};
}

28
home/cli/zsh.nix Normal file
View File

@@ -0,0 +1,28 @@
{ 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
args = "--impure --flake";
flake = "/home/fox/conf";
in {
"switch" = "sudo nixos-rebuild switch ${args} ${flake}#lenovo";
"home-switch" = "home-manager switch ${args} ${flake}#fox";
"clean-nix" = "sudo nix-collect-garbage -d";
"un" = "adb shell pm uninstall -k";
};
initExtra = ''
export PROMPT="%m %2~ %B::%b "
'';
};
}