From e112f10b70f76bebb2c560893569349d13c0c6ec Mon Sep 17 00:00:00 2001 From: OCbwoy3 Date: Wed, 24 Sep 2025 18:23:16 +0300 Subject: [PATCH] fix lto --- flake.nix | 2 +- hosts/default/configuration.nix | 2 ++ modules/nixos/bootloader.nix | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 11874ac..982d177 100644 --- a/flake.nix +++ b/flake.nix @@ -53,7 +53,7 @@ inputs.chaotic.nixosModules.nyx-overlay inputs.chaotic.nixosModules.nyx-registry # ./hosts/default/hardware-configuration.nix - + # lil hack to not use --impure when rebuilding nixos >:3 "/etc/nixos/hardware-configuration.nix" diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 557d497..3af4594 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -14,6 +14,8 @@ services.displayManager.gdm.enable = true; + boot.kernelPackages = pkgs.linuxPackages_cachyos-lto; # some guy in roblox told me to do this + programs.steam = { enable = true; # package = pkgs.steam-millennium; diff --git a/modules/nixos/bootloader.nix b/modules/nixos/bootloader.nix index 4d5d19a..c0ac105 100644 --- a/modules/nixos/bootloader.nix +++ b/modules/nixos/bootloader.nix @@ -24,8 +24,6 @@ "boot.shell_on_fail" ]; - boot.kernelPackages = pkgs.linuxPackages_cachyos-lto; # some guy in roblox told me to do this - boot.loader = { efi = { # canTouchEfiVariables = true;