CLI Improvements

This commit is contained in:
2026-01-22 16:41:08 -07:00
parent 5d0a48fab6
commit 088f986f61
6 changed files with 61 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
"nix:edit" = "$EDITOR /etc/nixos";
"nix:push" = "cd /etc/nixos && git add -A && git commit -m \"$(date -u +%s)\" && git push";
"nix:pull" = "cd /etc/nixos && git pull";
"nix:gen-hardware" = "sudo nixos-generate-config --show-hardware-config > /etc/nixos/hardware-configuration.nix";
"nix:hw" = "sudo nixos-generate-config --show-hardware-config > /etc/nixos/hardware-configuration.nix";
# Utilities
"fixaudio" = "systemctl --user restart pipewire pipewire-pulse wireplumber";

View File

@@ -11,6 +11,7 @@ let
./home/packages.nix
./home/git.nix
./home/gnome.nix
./home/cli.nix
./home/librewolf.nix
./home/zed.nix
./home/ghostty.nix

44
modules/home/cli.nix Normal file
View File

@@ -0,0 +1,44 @@
{ pkgs, ... }:
{
programs.starship = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
settings = {
add_newline = false;
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";
};
};
};
programs.zoxide = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
programs.eza = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
git = true;
icons = "auto";
};
programs.bat = {
enable = true;
config = {
theme = "Catppuccin Macchiato";
};
};
programs.direnv = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
}

View File

@@ -5,6 +5,7 @@
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
accent-color = "pink";
clock-show-weekday = true;
};
"org/gnome/system/location" = {
@@ -15,5 +16,14 @@
picture-uri = "file://${config.home.homeDirectory}/Assets/wallpapers/unicat.png";
picture-uri-dark = "file://${config.home.homeDirectory}/Assets/wallpapers/unicat.png";
};
"org/gnome/desktop/peripherals/mouse" = {
accel-profile = "flat";
};
"org/gnome/settings-daemon/plugins/media-keys" = {
home = [ "<Super>e" ];
www = [ "<Super>b" ];
};
};
}