flake update, niri stuff
This commit is contained in:
parent
83c92deef5
commit
5d8e3292d2
15 changed files with 454 additions and 193 deletions
|
|
@ -9,5 +9,6 @@
|
|||
imports = [
|
||||
./browser.nix
|
||||
./mail.nix
|
||||
./rss.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
29
modules/apps/internet/rss.nix
Normal file
29
modules/apps/internet/rss.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
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
|
||||
[ ]
|
||||
);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue