finish bspwm module and kitty module and begin making zsh module
This commit is contained in:
parent
0ec88d704c
commit
345b94dcbd
4 changed files with 35 additions and 0 deletions
20
modules/desktop/kitty.nix
Normal file
20
modules/desktop/kitty.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let cfg = config.modules.desktop.kitty;
|
||||
in {
|
||||
options.modules.desktop.kitty = {
|
||||
enable = mkBoolOpt false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.users.sako.packages = with pkgs; [
|
||||
kitty
|
||||
];
|
||||
fonts.fonts = with pkgs; [
|
||||
jetbrains-mono
|
||||
(nerdfonts.override { fonts = [
|
||||
"JetBrainsMono"
|
||||
];})
|
||||
];
|
||||
};
|
||||
}
|
15
modules/shell/zsh.nix
Normal file
15
modules/shell/zsh.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let cfg = config.modules.shell.zsh;
|
||||
in {
|
||||
options.modules.shell.zsh = {
|
||||
enable = mkBoolOpt false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-heme";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue