This commit is contained in:
xmm16 2024-12-12 20:34:36 -03:00
commit 48de533483
No known key found for this signature in database
2 changed files with 42 additions and 1 deletions

View file

@ -10,7 +10,8 @@
config = {
console = {
font = "Lat2-Terminus16";
keyMap = "us";
useXkbConfig = true;
earlySetup = true;
};
services = {

View file

@ -59,4 +59,44 @@
defaultEditor = true;
startWithGraphical = true;
};
users.defaultUserShell = pkgs.zsh;
environment.shells = with pkgs; [zsh];
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions = {
enable = true;
strategy = ["completion"];
};
zsh-autoenv = {
enable = true;
};
syntaxHighlighting = {
enable = true;
highlighters = ["main" "brackets" "pattern" "cursor" "regexp" "root" "line"];
};
shellAliases = {
ll = "ls -l";
update = "sudo nixos-rebuild switch --upgrade";
};
ohMyZsh = {
enable = true;
plugins = ["git" "direnv" "fzf"];
theme = "half-life";
};
};
# DirEnv support
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv = {
enable = true;
};
};
}