diff --git a/configuration.nix b/configuration.nix index 327ba12..8236a32 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,25 +11,28 @@ # LUKS devices boot.initrd.luks.devices."luks-1ec6d49d-7a0b-4ac9-aaea-e8efc1c75ac0".device = "/dev/disk/by-uuid/1ec6d49d-7a0b-4ac9-aaea-e8efc1c75ac0"; - # Laptop power management - services.power-profiles-daemon.enable = false; - services.thermald.enable = true; - services.tlp = { - enable = true; - settings = { - CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; - - CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; - CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; - - CPU_MIN_PERF_ON_AC = 0; - CPU_MAX_PERF_ON_AC = 100; - CPU_MIN_PERF_ON_BAT = 0; - CPU_MAX_PERF_ON_BAT = 20; - }; - }; - + # Support for non-Nix executables + programs.nix-ld.enable = true; + programs.nix-ld.libraries = with pkgs; [ + rustc + rust-analyzer + cargo + makeWrapper + clang + pkg-config + mold + expat + fontconfig + freetype + android-tools + libxkbcommon + libGL + wayland + xorg.libXcursor + xorg.libXrandr + xorg.libXi + xorg.libX11 + ]; # Autoupgrade system.autoUpgrade = {