Pihole: filesystem optimizations
This commit is contained in:
parent
48c07e2dcc
commit
8c661ce914
|
@ -44,7 +44,6 @@ in
|
||||||
services = {
|
services = {
|
||||||
autoUpgrade = {
|
autoUpgrade = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraFlags = "--build-host hevana";
|
|
||||||
configDir = config.${namespace}.secrets.nixConfigFolder;
|
configDir = config.${namespace}.secrets.nixConfigFolder;
|
||||||
onCalendar = "daily";
|
onCalendar = "daily";
|
||||||
user = config.users.users.aires.name;
|
user = config.users.users.aires.name;
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||||
fsType = "ext4";
|
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 = [
|
swapDevices = [
|
||||||
|
|
Loading…
Reference in a new issue