49 lines
934 B
Nix
49 lines
934 B
Nix
|
{ config, pkgs, lib, outputs, ... }:
|
||
|
|
||
|
{
|
||
|
home.username = "admin";
|
||
|
home.homeDirectory = "/home/admin";
|
||
|
home.stateVersion = "23.11";
|
||
|
|
||
|
imports = [
|
||
|
] ++ (builtins.attrValues outputs.homeManagerModules); # import all homeManagerModules?
|
||
|
|
||
|
home.packages = [
|
||
|
];
|
||
|
|
||
|
programs.zsh = {
|
||
|
enable = true;
|
||
|
enableCompletion = true;
|
||
|
autosuggestion.enable = true;
|
||
|
syntaxHighlighting.enable = true;
|
||
|
|
||
|
shellAliases = {
|
||
|
ll = "ls -l";
|
||
|
update = "sudo nixos-rebuild switch --flake $(readlink -f /etc/nixos)#fileserver";
|
||
|
};
|
||
|
history.size = 10000;
|
||
|
history.path = "${config.xdg.dataHome}/zsh/history";
|
||
|
|
||
|
initExtra = ''
|
||
|
bindkey -v
|
||
|
bindkey "^H" backward-delete-char
|
||
|
bindkey "^?" backward-delete-char
|
||
|
set -o vi
|
||
|
export TERM=xterm
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
|
||
|
home.file = {
|
||
|
};
|
||
|
|
||
|
home.sessionPath = [
|
||
|
];
|
||
|
|
||
|
home.sessionVariables = {
|
||
|
};
|
||
|
|
||
|
programs.home-manager.enable = true;
|
||
|
}
|
||
|
|