remove deprecated option
This commit is contained in:
parent
97c3c4fe55
commit
6e678c9918
1 changed files with 51 additions and 47 deletions
|
@ -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 = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
users.users.sako.shell = pkgs.zsh;
|
||||
|
||||
programs.zsh = {
|
||||
|
@ -57,10 +62,9 @@ in
|
|||
};
|
||||
|
||||
# for theme
|
||||
fonts.fonts = with pkgs;[
|
||||
fonts.packages = with pkgs; [
|
||||
jetbrains-mono
|
||||
(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue