Files
nix-config/hosts/mac-nixos/home.nix
mjallen18 6e0a996187 mac-nix
2024-08-27 16:32:24 -05:00

59 lines
1.2 KiB
Nix

{ pkgs, ... }:
{
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;
home.packages = with pkgs; [
nixfmt-rfc-style
deadnix
papirus-icon-theme
];
}