legacy nix don't understand braced options and options outside it both

This commit is contained in:
Gregory Bednov 2026-08-21 19:04:04 +03:00
commit 8aecf23593

View file

@ -709,6 +709,7 @@ in
grub = {
enable = true;
efiSupport = true;
configurationLimit = 5;
device = "nodev";
useOSProber = true;
theme = "${pkgs.sleek-grub-theme.override {
@ -723,6 +724,7 @@ in
grub = {
enable = true;
device = "/dev/sda";
configurationLimit = 5;
theme = "${pkgs.sleek-grub-theme.override {
withStyle = "orange";
withBanner = "Загрузчик Linux";
@ -761,8 +763,7 @@ in
randomizedDelaySec = "45min"; # машины не запускают GC одновременно
options = "--delete-older-than 14d";
};
# Хранить не более 5 поколений в меню GRUB
boot.loader.grub.configurationLimit = 5;
# Периодический TRIM для SSD (безопасен и на HDD — просто no-op)
services.fstrim.enable = true;
# nix-daemon стартует только после Yggdrasil, иначе nixos.builds.node недостижим