mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-25 08:09:08 +02:00
17 lines
504 B
Nix
17 lines
504 B
Nix
{ ... }: {
|
|
flake.nixosModules.zsh = { pkgs, ... }: {
|
|
programs.zsh.enable = true;
|
|
programs.zsh.enableCompletion = true;
|
|
programs.zsh.syntaxHighlighting.enable = true;
|
|
programs.zsh.autosuggestions.enable = true;
|
|
programs.zsh.autosuggestions.async = true;
|
|
programs.zsh.ohMyZsh.enable = true;
|
|
programs.zsh.ohMyZsh.theme = "agnoster";
|
|
users.defaultUserShell = pkgs.zsh;
|
|
};
|
|
|
|
flake.homeModules.zsh = { ... }: {
|
|
home.file.".zshrc".source = ./dotfiles/zsh-config;
|
|
};
|
|
}
|