configuration.nix/modules/programs/default.nix

60 lines
1.3 KiB
Nix
Raw Normal View History

2023-11-14 18:57:53 +01:00
{ pkgs, lib, config, ... }:
let
cfg = config.programs.common;
in
{
2023-10-04 06:25:42 +02:00
imports = [ ./neovim ./neomutt ./sway ./tmux.nix ./zsh.nix ./lf ];
2023-08-09 23:40:02 +02:00
2023-11-14 18:57:53 +01:00
options.programs.common = {
enable = lib.mkEnableOption "common";
};
config = lib.mkIf cfg.enable {
programs = {
thunderbird = {
enable = true;
profiles = { ivan = { isDefault = true; }; };
2023-08-12 14:35:08 +02:00
};
2023-11-14 18:57:53 +01:00
chromium = {
enable = true;
package = pkgs.ungoogled-chromium;
2023-08-12 14:35:08 +02:00
};
2023-11-14 18:57:53 +01:00
swaylock = {
enable = true;
settings = {
color = "000000";
line-color = "ffffff";
show-failed-attempts = true;
};
};
obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [ wlrobs ];
};
kitty = {
enable = true;
settings = {
enable_tab_bar = false;
background_opacity = "0.96";
cursor_shape = "beam";
};
};
git = {
enable = true;
userName = "Ivan Dimitrov";
userEmail = "ivan@idimitrov.dev";
extraConfig = {
color.ui = "auto";
pull.rebase = true;
};
};
browserpass.enable = true;
newsboat = {
enable = true;
autoReload = true;
reloadTime = 1;
2023-08-12 14:35:08 +02:00
};
2023-11-14 15:21:14 +01:00
};
2023-08-09 23:40:02 +02:00
};
2023-08-09 22:10:48 +02:00
}