nixos/modules/shell/newsboat/default.nix

24 lines
473 B
Nix
Raw Normal View History

2023-07-21 21:48:10 +04:00
{ outputs, options, config, lib, pkgs, ...}:
let
cfg = config.modules.shell.newsboat;
in
{
options.modules.shell.newsboat= {
2024-08-01 16:24:09 +04:00
enable = lib.mkEnableOption false;
2023-07-21 21:48:10 +04:00
};
2024-08-01 16:24:09 +04:00
config = lib.mkIf cfg.enable {
2023-07-21 21:48:10 +04:00
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
};
}