23 lines
391 B
Nix
23 lines
391 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.profiles.az-server;
|
|
in
|
|
{
|
|
options = {
|
|
profiles.az-server.enable = lib.mkEnableOption "Enable server profile";
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
services.az-syslog.enable = true;
|
|
system.autoUpgrade = {
|
|
enable = true;
|
|
dates = "03:00";
|
|
flake = "git+https://git.2li.ch/Nebucatnetzer/nixos";
|
|
};
|
|
};
|
|
}
|