logrotate: added profile

This commit is contained in:
Serĉanto de Scio 2021-05-25 11:40:51 +10:00
parent d468b48971
commit bd55f105dc
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
2 changed files with 12 additions and 0 deletions

View file

@ -6,6 +6,7 @@
imports = [
./chrony.nix
../profiles/logrotate.nix
./tmux.nix
./zsh.nix
];

11
profiles/logrotate.nix Normal file
View file

@ -0,0 +1,11 @@
# logrotate configuration for NixOS / NixOps
{ config, ... }:
{
services.logrotate = {
enable = true; # Enable the logrotate service
};
}