logrotate: added profile
This commit is contained in:
parent
d468b48971
commit
bd55f105dc
|
@ -6,6 +6,7 @@
|
|||
|
||||
imports = [
|
||||
./chrony.nix
|
||||
../profiles/logrotate.nix
|
||||
./tmux.nix
|
||||
./zsh.nix
|
||||
];
|
||||
|
|
11
profiles/logrotate.nix
Normal file
11
profiles/logrotate.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
# logrotate configuration for NixOS / NixOps
|
||||
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
|
||||
services.logrotate = {
|
||||
enable = true; # Enable the logrotate service
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in a new issue