52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
{ ... }:
|
|
{
|
|
|
|
home.username = "matt";
|
|
home.homeDirectory = "/home/matt";
|
|
home.stateVersion = "23.11";
|
|
programs.home-manager.enable = true;
|
|
|
|
programs = {
|
|
fish.enable = false;
|
|
java.enable = true;
|
|
|
|
zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
shellAliases = {
|
|
ll = "ls -alh";
|
|
update = "sudo nixos-rebuild switch";
|
|
nas-update = "nixos-rebuild switch --use-remote-sudo --target-host admin@jallen-nas.local --build-host localhost --flake ~/nix-config/flake.nix#jallen-nas";
|
|
nas-ssh = "ssh admin@jallen-nas.local";
|
|
};
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [ "git" ];
|
|
theme = "fishy";
|
|
};
|
|
};
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "mjallen18";
|
|
userEmail = "matt.l.jallen@gmail.com";
|
|
aliases = {
|
|
co = "checkout";
|
|
ci = "commit";
|
|
cia = "commit --amend";
|
|
s = "status";
|
|
st = "status";
|
|
b = "branch";
|
|
# p = "pull --rebase";
|
|
pu = "push";
|
|
};
|
|
};
|
|
|
|
programs.command-not-found.enable = true;
|
|
}
|