It's moving

This commit is contained in:
Hadi
2026-06-29 17:48:21 +02:00
parent 082de49ca4
commit cdffe66d72
62 changed files with 953 additions and 2147 deletions
+6 -2
View File
@@ -1,6 +1,10 @@
{
{pkgs-stable, ...}: {
programs.direnv = {
enable = true;
nix-direnv.enable = true;
package = pkgs-stable.direnv;
nix-direnv = {
enable = true;
package = pkgs-stable.nix-direnv;
};
};
}
+2 -1
View File
@@ -1,7 +1,8 @@
# Eza is a ls replacement
{
{pkgs-stable, ...}: {
programs.eza = {
enable = true;
package = pkgs-stable.eza;
icons = "auto";
extraOptions = [
+2
View File
@@ -1,5 +1,6 @@
# Fzf is a general-purpose command-line fuzzy finder.
{
pkgs-stable,
config,
lib,
...
@@ -10,6 +11,7 @@
in {
programs.fzf = {
enable = true;
package = pkgs-stable.fzf;
enableZshIntegration = true;
colors = lib.mkForce {
"fg+" = accent;
+2
View File
@@ -1,5 +1,6 @@
# starship is a minimal, fast, and extremely customizable prompt for any shell!
{
pkgs-stable,
config,
lib,
...
@@ -9,6 +10,7 @@
in {
programs.starship = {
enable = true;
package = pkgs-stable.starship;
settings = {
add_newline = true;
format = lib.concatStrings [
+2 -1
View File
@@ -1,7 +1,8 @@
# Zoxide is a cd replacement
{
{pkgs-stable, ...}: {
programs.zoxide = {
enable = true;
package = pkgs-stable.zoxide;
enableZshIntegration = true;
};
}
+11 -9
View File
@@ -1,20 +1,20 @@
# My shell configuration
{
pkgs,
pkgs-stable,
lib,
config,
...
}: {
home.packages = with pkgs; [
home.packages = with pkgs-stable; [
bat
ripgrep
];
# Add go binaries to the PATH
home.sessionPath = ["$HOME/go/bin"];
home.sessionVariables = {
COLORTERM = "truecolor";
home = {
sessionPath = ["$HOME/go/bin"];
sessionVariables = {
COLORTERM = "truecolor";
};
};
programs.zsh = {
@@ -59,7 +59,7 @@
v = "nvim";
c = "clear";
e = "exit";
open = "${pkgs.xdg-utils}/bin/xdg-open";
open = "${pkgs-stable.xdg-utils}/bin/xdg-open";
notes = "nvim ~/notes/index.md --cmd 'cd ~/notes' -c ':lua Snacks.picker.smart()'";
nix-shell = "nix-shell --command zsh";
@@ -99,7 +99,9 @@
bindkey '^X' edit-command-line
# Suffix Aliases
alias -s {nix,md,txt,json,yml,yaml,go}=nvim
alias -s {nix,md,txt,yml,yaml,go}=nvim
alias -s {json,jsonl}=jless
alias -s {csv,tsv,parquet,pqt,arrow,db,sqlite,xls,xlsx,xlsm,xlsb,fwf}=tw
alias -s {png,jpg,jpeg,gif,pdf}=xdg-open
# 3. Global Aliases (Remplacés n'importe où dans la commande, pas seulement au début)