finish bspwm module and kitty module and begin making zsh module

This commit is contained in:
Sakooooo 2023-07-06 19:43:40 +03:00
parent 0ec88d704c
commit 345b94dcbd
Signed by: sako
GPG key ID: 3FD715D87D7725E0
4 changed files with 35 additions and 0 deletions

20
modules/desktop/kitty.nix Normal file
View 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
View 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";
};
};
}