mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-25 22:35:03 +01:00
36 lines
928 B
Nix
36 lines
928 B
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
home-manager.users.yoda = {
|
||
|
|
||
|
programs.zsh = {
|
||
|
enable = true;
|
||
|
shellAliases = {
|
||
|
#ll = "ls -l";
|
||
|
#update = "sudo nixos-rebuild switch";
|
||
|
};
|
||
|
history.size = 1000;
|
||
|
history.ignoreDups = true;
|
||
|
#history.ignoreAllDups = true;
|
||
|
|
||
|
# TODO:
|
||
|
# Currently, `config` is my NixOS config. However, I want to access Home Manager's `config`.
|
||
|
# I could change home-manager.users.yoda to be a function and take config as an argument there.
|
||
|
#history.path = "${config.xdg.dataHome}/.histfile";
|
||
|
|
||
|
oh-my-zsh = {
|
||
|
enable = true;
|
||
|
plugins = [
|
||
|
# Provides many aliases and a few useful functions.
|
||
|
#"git"
|
||
|
# Easily prefix your current or previous commands with sudo by pressing `esc` twice.
|
||
|
#"sudo"
|
||
|
];
|
||
|
#theme = "robbyrussell";
|
||
|
theme = "agnoster";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
};
|
||
|
}
|