nixos/modules/shell/newsboat/default.nix

25 lines
475 B
Nix
Raw Normal View History

2023-07-21 21:48:10 +04:00
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.shell.newsboat;
in
{
options.modules.shell.newsboat= {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
newsboat
];
2023-07-29 17:08:02 +04:00
home-manager.users.sako = { pkgs, ...}: {
xdg.configFile = {
newsboat = {
source = ../../../config/newsboat;
recursive = true;
};
};
};
2023-07-21 21:48:10 +04:00
};
}