add examples and test VM
This commit is contained in:
15
examples/nixos.nix
Normal file
15
examples/nixos.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.panoptikon.enable = true;
|
||||
|
||||
services.panoptikon.watchers = {
|
||||
nixos-updates = {
|
||||
script = pkgs.panoptikonWatchers.html "https://nixos.org/blog/";
|
||||
frequency = "daily";
|
||||
reporters = [
|
||||
(pkgs.panoptikonReporters.mail { recipient = "admin@example.org"; })
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user