29 lines
367 B
Nix
29 lines
367 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
options = {
|
|
apps.internet.rss = {
|
|
enable = lib.mkEnableOption "enable rss";
|
|
};
|
|
};
|
|
config = {
|
|
environment.systemPackages =
|
|
with pkgs;
|
|
[
|
|
|
|
]
|
|
++ (
|
|
if config.apps.internet.rss.enable then
|
|
[
|
|
newsflash
|
|
]
|
|
else
|
|
[ ]
|
|
);
|
|
};
|
|
}
|