diff --git a/configuration.nix b/configuration.nix index 03fc482..422a0f4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -454,7 +454,7 @@ in qt6.wrapQtAppsHook qt6.qttools ]; - + buildInputs = with pkgs; [ qt6.qtbase qt6.qtsvg @@ -473,7 +473,7 @@ in lrelease "$f" -qm "$out_path" done ''; - + installPhase = '' runHook preInstall cmake --install build --prefix $out @@ -602,7 +602,7 @@ in sha256 = "sha256-nKK8HRzeqDixpdKmgacjhNzanJaTsAnYLC6nCbmWXuU="; } ]; - + }) qtcreator @@ -675,7 +675,7 @@ in imports = [ inputs.guardant.nixosModules.grdcontrol - ./hardware-configuration.nix + ./hardware-configuration.nix ]; programs.tmux = { enable = true; @@ -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 недостижим