more stuff
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"cSpell.words": ["nixos", "nixpkgs", "pkgs"]
|
||||
}
|
||||
@@ -3,6 +3,8 @@
|
||||
{
|
||||
imports = [
|
||||
./programs/bash.nix
|
||||
./programs/starship.nix
|
||||
./programs/git.nix
|
||||
];
|
||||
|
||||
home.username = "river";
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
withUWSM = false;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
'';
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user = {
|
||||
name = "Maaz Khokhar";
|
||||
email = "khokharmaaz@gmail.com";
|
||||
};
|
||||
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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) ";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user