init loadedskypotato
This commit is contained in:
parent
93f39c8a0d
commit
d8abcde57a
11 changed files with 1233 additions and 0 deletions
18
loadedskypotato/matomo.nix
Normal file
18
loadedskypotato/matomo.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
let cfg = config.cos.matomo; in
|
||||
{
|
||||
options.cos.matomo = {
|
||||
enable = lib.mkEnableOption "enable matomo";
|
||||
hostname = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.matomo = { # Effectively never finished
|
||||
enable = true;
|
||||
hostname = cfg.hostname;
|
||||
nginx = {};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue