lets restart

This commit is contained in:
2026-06-21 19:56:33 -05:00
parent d969daa52d
commit 6114900057
15 changed files with 0 additions and 407 deletions
-13
View File
@@ -1,13 +0,0 @@
{ config, pkgs, ... }:
{
imports = [
./programs/bash.nix
./programs/starship.nix
./programs/git.nix
];
home.username = "river";
home.homeDirectory = "/home/river";
home.stateVersion = "26.05"; # Update this when changing nixpkgs releases
}
-45
View File
@@ -1,45 +0,0 @@
{ config, pkgs, ... }:
{
imports = [
./starship.nix
];
programs.bash = {
enable = true;
shellAliases = {
cd = "z";
cat = "bat";
ocat = "\cd"; # The \ is used to prevent alias expansion in the alias definition
docker = "podman";
ls = "eza --icons";
ols = "\ls";
kubectx = "kubectl config use-context";
# Nix Stuff
nrs = "sudo nixos-rebuild switch --flake ~/Dotfiles#laptop";
update = "nix flake update --flake ~/Dotfiles#laptop";
upgrade = "update && nrs";
# Single Letter Aliases
v = "nvim";
};
initExtra = ''
eval "$(zoxide init bash)"
eval "$(starship init bash)"
source ${pkgs.carapace}/share/bash/carapace.bash
export EDITOR=nvim
'';
};
# Just to make sure pkgs are installed
home.packages = with pkgs; [
bat
eza
zoxide
carapace
neovim
kubectl
];
}
-15
View File
@@ -1,15 +0,0 @@
{ pkgs, ... }:
{
programs.git = {
enable = true;
settings = {
user = {
name = "Maaz Khokhar";
email = "khokharmaaz@gmail.com";
};
init.defaultBranch = "main";
};
};
}
-17
View File
@@ -1,17 +0,0 @@
{ config, pkgs, ... }:
{
programs.starship = {
enable = true;
settings = {
add_newline = true;
command_timeout = 1300;
scan_timeout = 50;
format = "$all$nix_shell$nodejs$lua$golang$rust$php$git_branch$git_commit$git_state$git_status\n$username$hostname$directory";
character = {
success_symbol = "[](bold green) ";
error_symbol = "[](bold red) ";
};
};
};
}