more stuff

This commit is contained in:
2026-06-18 20:31:11 -05:00
parent 6de2694495
commit d0f844a453
9 changed files with 51 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
{
"cSpell.words": ["nixos", "nixpkgs", "pkgs"]
}
+2
View File
@@ -3,6 +3,8 @@
{
imports = [
./programs/bash.nix
./programs/starship.nix
./programs/git.nix
];
home.username = "river";
+9
View File
@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
programs.hyprland = {
enable = true;
withUWSM = false;
xwayland.enable = true;
};
}
View File
View File
View File
+5
View File
@@ -1,6 +1,10 @@
{ config, pkgs, ... }:
{
imports = [
./starship.nix
];
programs.bash = {
enable = true;
shellAliases = {
@@ -23,6 +27,7 @@
initExtra = ''
eval "$(zoxide init bash)"
eval "$(starship init bash)"
source ${pkgs.carapace}/share/bash/carapace.bash
export EDITOR=nvim
'';
+15
View File
@@ -0,0 +1,15 @@
{ pkgs, ... }:
{
programs.git = {
enable = true;
settings = {
user = {
name = "Maaz Khokhar";
email = "khokharmaaz@gmail.com";
};
init.defaultBranch = "main";
};
};
}
+17
View File
@@ -0,0 +1,17 @@
{ 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) ";
};
};
};
}