ops/nixos: fix things
This commit is contained in:
parent
06910a0445
commit
19c29c56ff
2 changed files with 2 additions and 5 deletions
|
@ -25,8 +25,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.postDeviceCommands = mkIf robCfg.enable
|
boot.initrd.postDeviceCommands = mkIf robCfg.enable
|
||||||
mkAfter ''
|
(mkAfter ''
|
||||||
zfs rollback -r ${robCfg.snapshot}
|
zfs rollback -r ${robCfg.snapshot}
|
||||||
'';
|
'');
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -142,8 +142,5 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.kernel.sysctl."net.ipv4.tcp_congestion_control" = "bbr";
|
|
||||||
boot.kernel.sysctl."net.core.default_qdisc" = "fq_codel";
|
|
||||||
|
|
||||||
system.stateVersion = "20.03";
|
system.stateVersion = "20.03";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue