From 44861481073bc3cdad0a5c7794c77f60e42d5ba1 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Mon, 11 Mar 2024 20:53:34 +0530 Subject: update --- machines/x/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'machines') diff --git a/machines/x/configuration.nix b/machines/x/configuration.nix index 8f31309..62c119e 100644 --- a/machines/x/configuration.nix +++ b/machines/x/configuration.nix @@ -27,6 +27,16 @@ nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfreePredicate = _: true; + services.fstrim.enable = true; + + services.tlp = { + enable = true; + settings = { + CPU_SCALING_GOVERNOR_ON_AC = "performance"; + CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; + } + } + networking.hostName = "x"; home-manager.users.compromyse = import ./home.nix; -- cgit v1.2.3