initial commit
This commit is contained in:
9
home/atuin/default.nix
Normal file
9
home/atuin/default.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
programs.atuin = {
|
||||
enable = true;
|
||||
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
}
|
7
home/bat/default.nix
Normal file
7
home/bat/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
43
home/default.nix
Normal file
43
home/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ config, pkgs, lib, home-manager, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./atuin
|
||||
./bat
|
||||
./direnv
|
||||
./eza
|
||||
./fish
|
||||
./git
|
||||
./lazygit
|
||||
./neovim
|
||||
./starship
|
||||
];
|
||||
|
||||
config = {
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
discord
|
||||
obsidian
|
||||
zoxide
|
||||
wget
|
||||
nerdfonts
|
||||
jdk
|
||||
prismlauncher
|
||||
iterm2
|
||||
zed
|
||||
vscode
|
||||
nodejs
|
||||
cargo
|
||||
gcc
|
||||
python3
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
programs.home-manager.enable = true;
|
||||
};
|
||||
}
|
13
home/direnv/default.nix
Normal file
13
home/direnv/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
|
||||
config = {
|
||||
global = {
|
||||
hide_env_diff = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
13
home/eza/default.nix
Normal file
13
home/eza/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
|
||||
enableFishIntegration = true;
|
||||
|
||||
extraOptions = [
|
||||
# "--group-directories-first"
|
||||
];
|
||||
};
|
||||
}
|
21
home/fish/aliases.nix
Normal file
21
home/fish/aliases.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
programs.fish = {
|
||||
shellAliases = {
|
||||
# ls aliases
|
||||
ls = "eza --color $argv";
|
||||
la = "eza -l -all --color $argv";
|
||||
ll = "eza -l --color $argv";
|
||||
lt = "eza -l --color --git $argv";
|
||||
|
||||
# lazygit alias
|
||||
lg = "lazygit";
|
||||
|
||||
# cat, less, more alias
|
||||
cat = "bat $argv";
|
||||
less = "bat $argv";
|
||||
more = "bat $argv";
|
||||
};
|
||||
};
|
||||
}
|
12
home/fish/default.nix
Normal file
12
home/fish/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ lib, config, ...}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./aliases.nix
|
||||
./functions.nix
|
||||
];
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
33
home/fish/functions.nix
Normal file
33
home/fish/functions.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
programs.fish = {
|
||||
functions = {
|
||||
fish_greeting = {
|
||||
body = ''
|
||||
set memes \
|
||||
"Crazy? I was crazy once. They locked me in a room. A rubber room. A rubber room with rats. And rats make me crazy." \
|
||||
"Daddy, chill!" \
|
||||
"What the hell is even that?!" \
|
||||
"Road work ahead? Yeah, I sure hope it does!" \
|
||||
"Look at all those chickens!" \
|
||||
"I smell like beef" \
|
||||
"Say, Coloardo - I'M A GIRAFFE" \
|
||||
"I didn't get no sleep cause of y'all, y'all not gone get any sleep cause of me!" \
|
||||
"This is the dollar store, how good can it be?" \
|
||||
"That was legitness" \
|
||||
"Deez nuts" \
|
||||
"I wanna be a cowboy baby" \
|
||||
"Can I get a waffle? Can I please get a waffle?" \
|
||||
"I'm lesbian. I thought you were American."
|
||||
|
||||
set choose_meme (random)"%"(count $memes)
|
||||
set choose_meme $memes[(math $choose_meme"+1")]
|
||||
|
||||
printf (set_color F90)"%s\n" $choose_meme
|
||||
'';
|
||||
onEvent = "fish_greeting";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
21
home/git/default.nix
Normal file
21
home/git/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
userName = "Wyatt J. Miller";
|
||||
userEmail = "wyatt@wyattjmiller.com";
|
||||
|
||||
ignores = [
|
||||
".DS_Store"
|
||||
".direnv"
|
||||
".idea"
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "master";
|
||||
# push.autoSetupRemote = true;
|
||||
};
|
||||
};
|
||||
}
|
22
home/lazygit/default.nix
Normal file
22
home/lazygit/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
programs.lazygit = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
gui.theme = {
|
||||
activeBorderColor = ["#a6e3a1" "bold"];
|
||||
inactiveBorderColor = ["#a6adc8"];
|
||||
optionsTextColor = ["#89b4fa"];
|
||||
selectedLineBgColor = ["#313244"];
|
||||
selectedRangeBgColor = ["#313244"];
|
||||
cherryPickedCommitBgColor = ["#45475a"];
|
||||
cherryPickedCommitFgColor = ["#a6e3a1"];
|
||||
unstagedChangesColor = ["#f38ba8"];
|
||||
defaultFgColor = ["#cdd6f4"];
|
||||
searchingActiveBorderColor = ["#f9e2af"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
7
home/neovim/default.nix
Normal file
7
home/neovim/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
11
home/starship/default.nix
Normal file
11
home/starship/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
|
||||
enableFishIntegration = true;
|
||||
|
||||
settings = { };
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user