Keep less data on disk
This commit is contained in:
parent
910816f0b9
commit
56e3d8f9e4
4 changed files with 14 additions and 3 deletions
|
@ -74,6 +74,10 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
services.journald.extraConfig = ''
|
||||
SystemMaxUse=512M
|
||||
'';
|
||||
|
||||
documentation.doc.enable = false;
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -8,7 +8,10 @@
|
|||
virtualisation = {
|
||||
docker = {
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
autoPrune = {
|
||||
enable = true;
|
||||
flags = [ "--all" ];
|
||||
};
|
||||
};
|
||||
|
||||
oci-containers = {
|
||||
|
|
|
@ -65,7 +65,7 @@ in
|
|||
mediaAutoRemove = {
|
||||
enable = true;
|
||||
startAt = "daily";
|
||||
olderThanDays = 21;
|
||||
olderThanDays = 14;
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
|
|
Loading…
Reference in a new issue