mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
feat: home-manager config files implemented
build not tested
This commit is contained in:
parent
248170c877
commit
54297f94fd
44 changed files with 852 additions and 60 deletions
36
home/zsh.nix
Executable file
36
home/zsh.nix
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
history = {
|
||||
size = 10000;
|
||||
save = 10000;
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
poby = "echo my name is poby";
|
||||
nrs = "sudo nixos-rebuild switch --flake ~/nixos#$(hostname)";
|
||||
nrt = "sudo nixos-rebuild test --flake ~/nixos#$(hostname)";
|
||||
hms = "home-manager switch -b backup --flake ~/nixos#$(whoami)";
|
||||
};
|
||||
|
||||
sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "robbyrussell";
|
||||
plugins = [
|
||||
"git"
|
||||
"history"
|
||||
"zoxide"
|
||||
"eza"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue