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,14 +1,19 @@
{ 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 = { options.modules.shell.zsh = {
enable = mkEnableOption false; enable = mkEnableOption false;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
users.users.sako.shell = pkgs.zsh; users.users.sako.shell = pkgs.zsh;
programs.zsh = { programs.zsh = {
@ -57,10 +62,9 @@ in
}; };
# for theme # for theme
fonts.fonts = with pkgs;[ fonts.packages = with pkgs; [
jetbrains-mono jetbrains-mono
(nerdfonts.override {fonts = ["JetBrainsMono"];}) (nerdfonts.override {fonts = ["JetBrainsMono"];})
]; ];
}; };
} }