53 lines
1.1 KiB
Nix
Executable File
53 lines
1.1 KiB
Nix
Executable File
{ ... }:
|
|
let
|
|
shellAliases = {
|
|
ll = "ls -alh";
|
|
update-boot = "nixos-rebuild boot --max-jobs 10";
|
|
update-switch = "nixos-rebuild switch --max-jobs 10";
|
|
update-flake = "nix flake update /etc/nixos";
|
|
ducks = "du -cksh * | sort -hr | head -n 15";
|
|
};
|
|
|
|
gitAliases = {
|
|
co = "checkout";
|
|
ci = "commit";
|
|
cia = "commit --amend";
|
|
s = "status";
|
|
st = "status";
|
|
b = "branch";
|
|
p = "pull --rebase";
|
|
pu = "push";
|
|
};
|
|
in
|
|
{
|
|
home.username = "root";
|
|
home.homeDirectory = "/root";
|
|
home.stateVersion = "23.11";
|
|
|
|
programs = {
|
|
command-not-found.enable = true;
|
|
home-manager.enable = true;
|
|
|
|
zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
shellAliases = shellAliases;
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [ "git" ];
|
|
theme = "fishy";
|
|
};
|
|
};
|
|
|
|
git = {
|
|
enable = true;
|
|
userName = "mjallen18";
|
|
userEmail = "matt.l.jallen@gmail.com";
|
|
aliases = gitAliases;
|
|
};
|
|
};
|
|
} |