Compare commits

...

2 Commits

Author SHA1 Message Date
coolneng bcce239a93
Rotate logs using logrotate 2022-06-15 22:49:08 +02:00
coolneng 774c628c1e flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/914ef51ffa88d9b386c71bdc88bffc5273c08ada' (2022-06-12)
  → 'github:NixOS/nixpkgs/6616de389ed55fba6eeba60377fc04732d5a207c' (2022-06-14)
2022-06-15 22:31:29 +02:00
2 changed files with 12 additions and 4 deletions

View File

@ -69,7 +69,15 @@ in {
boot.cleanTmpDir = true; boot.cleanTmpDir = true;
# Rotate logs after 7 days # Rotate logs after 7 days
services.journald.extraConfig = "SystemMaxFiles=7"; services.logrotate = {
enable = true;
settings = {
"/var/log/journal" = {
frequency = "weekly";
rotate = 7;
};
};
};
# Allow propietary software and build packages with Pulseaudio support # Allow propietary software and build packages with Pulseaudio support
nixpkgs.config = { nixpkgs.config = {

View File

@ -38,11 +38,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1655043425, "lastModified": 1655221618,
"narHash": "sha256-A+oT+aQGhW5lXy8H0cqBLsYtgcnT5glmGOXWQDcGw6I=", "narHash": "sha256-ht8HRFthDKzYt+il+sGgkBwrv+Ex2l8jdGVpsrPfFME=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "914ef51ffa88d9b386c71bdc88bffc5273c08ada", "rev": "6616de389ed55fba6eeba60377fc04732d5a207c",
"type": "github" "type": "github"
}, },
"original": { "original": {