summaryrefslogtreecommitdiff
path: root/flora/configuration.nix
diff options
context:
space:
mode:
authorstuebinm2022-06-14 17:38:25 +0200
committerstuebinm2022-06-14 17:38:25 +0200
commit0d0734d2239c6f2f61ae7ddd859f491f46d6848a (patch)
tree76e18091bcf5c750387818ade016208bdcc20e20 /flora/configuration.nix
parentcb8c015c2cae844c998e8ff30588536f519349a7 (diff)
update sources, move to NixOS 22.05
Diffstat (limited to 'flora/configuration.nix')
-rw-r--r--flora/configuration.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/flora/configuration.nix b/flora/configuration.nix
index 51fee59..07d1049 100644
--- a/flora/configuration.nix
+++ b/flora/configuration.nix
@@ -54,9 +54,11 @@
services.logrotate = {
enable = true;
- paths.nginx = {
- path = "/var/log/nginx";
- frequency = "weekly";
+ # the nginx module does stuff here, which apparently no one tells anyone about
+ settings.nginx = {
+ rotate = 2;
+ nocompress = true;
+ compress = false;
};
};
@@ -67,9 +69,7 @@
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
- system = {
- stateVersion = "20.09"; # Did you read the comment?
- };
+ system.stateVersion = "20.09"; # Did you read the comment?
}