1
0
Fork 0

Pihole: filesystem optimizations

This commit is contained in:
Aires 2025-01-12 15:25:45 -05:00
parent 48c07e2dcc
commit 8c661ce914
2 changed files with 5 additions and 1 deletions

View file

@ -44,7 +44,6 @@ in
services = {
autoUpgrade = {
enable = true;
extraFlags = "--build-host hevana";
configDir = config.${namespace}.secrets.nixConfigFolder;
onCalendar = "daily";
user = config.users.users.aires.name;

View file

@ -31,6 +31,11 @@
fileSystems."/" = {
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "ext4";
options = [
"lazytime" # Reduce atime writes: https://wiki.archlinux.org/title/Fstab#atime_options
"data=journal" # Commit to the journal before writing to the filesystem.
"journal_async_commit"
];
};
swapDevices = [