1
0
Fork 0

Keep less data on disk

This commit is contained in:
Daniel Kempkens 2022-12-01 22:48:43 +01:00
parent 910816f0b9
commit 56e3d8f9e4
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
4 changed files with 14 additions and 3 deletions

View file

@ -74,6 +74,10 @@ in
];
};
services.journald.extraConfig = ''
SystemMaxUse=512M
'';
documentation.doc.enable = false;
programs.fish.enable = true;

View file

@ -85,6 +85,10 @@ in
];
};
services.journald.extraConfig = ''
SystemMaxUse=1G
'';
documentation.doc.enable = false;
programs.fish.enable = true;
@ -95,7 +99,7 @@ in
};
daniel = {
hashedPassword = secret.users.daniel.hashedPassword;
inherit (secret.users.daniel) hashedPassword;
isNormalUser = true;
home = "/home/daniel";
description = "Daniel";

View file

@ -8,7 +8,10 @@
virtualisation = {
docker = {
enable = true;
autoPrune.enable = true;
autoPrune = {
enable = true;
flags = [ "--all" ];
};
};
oci-containers = {

View file

@ -65,7 +65,7 @@ in
mediaAutoRemove = {
enable = true;
startAt = "daily";
olderThanDays = 21;
olderThanDays = 14;
};
extraConfig = {