remove deprecated option

This commit is contained in:
Sakooooo 2023-12-24 13:35:41 +04:00
parent 97c3c4fe55
commit 6e678c9918
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -1,23 +1,28 @@
{ inputs, options, config, lib, pkgs, ...}:
with lib;
let cfg = config.modules.shell.zsh;
in
{
inputs,
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.shell.zsh;
in {
options.modules.shell.zsh = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.shell = pkgs.zsh;
programs.zsh = {
enable = true;
enableCompletion = true;
# promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
# promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
};
home-manager.users.sako = { pkgs, ...}: {
home-manager.users.sako = {pkgs, ...}: {
home.file = {
};
programs.direnv = {
@ -57,10 +62,9 @@ in
};
# for theme
fonts.fonts = with pkgs;[
fonts.packages = with pkgs; [
jetbrains-mono
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
(nerdfonts.override {fonts = ["JetBrainsMono"];})
];
};
}