Compare commits
No commits in common. "5095560f1c90dac947f67bcfe7782343d9c8a6f9" and "249aa0a4bfda385d825e6b32c36398d313d01e5a" have entirely different histories.
5095560f1c
...
249aa0a4bf
|
@ -208,7 +208,6 @@
|
|||
system = "x86_64-linux";
|
||||
hostName = "productivity-vm";
|
||||
extraModules = [
|
||||
"${nixpkgs}/nixos/modules/profiles/qemu-guest.nix"
|
||||
./machines/productivity-vm/configuration.nix
|
||||
./machines/productivity-vm/hardware.nix
|
||||
];
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
device = "/dev/sda";
|
||||
useOSProber = true;
|
||||
};
|
||||
virtualisation.vmware.guest.enable = true;
|
||||
# Setup system configuration
|
||||
nathan = {
|
||||
programs = { games = false; };
|
||||
|
|
|
@ -72,11 +72,5 @@ with lib; {
|
|||
services.iperf3.enable = true;
|
||||
environment.systemPackages = with pkgs; [ iperf ];
|
||||
}
|
||||
# Don't store logs longer than 7 days
|
||||
{
|
||||
services.journald.extraConfig = ''
|
||||
MaxRetentionSec=7day
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -14,11 +14,6 @@ in with lib; {
|
|||
recommendedGzipSettings = true;
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
# Only keep 7 days of logs
|
||||
services.logrotate.settings.nginx = {
|
||||
rotate = 7;
|
||||
frequency = "daily";
|
||||
};
|
||||
})
|
||||
(mkIf nathan.services.nginx.acme {
|
||||
security.acme = {
|
||||
|
|
Loading…
Reference in New Issue