about summary refs log tree commit diff
path: root/hosts/luna
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/luna')
-rw-r--r--hosts/luna/default.nix1
-rw-r--r--hosts/luna/hardware.nix2
2 files changed, 2 insertions, 1 deletions
diff --git a/hosts/luna/default.nix b/hosts/luna/default.nix
index 0ebec80..0ae0a60 100644
--- a/hosts/luna/default.nix
+++ b/hosts/luna/default.nix
@@ -12,7 +12,6 @@
   services = {
     # Configure keymap in X11
     xserver.layout = "gb";
-    fstrim.enable = true;
     logind.extraConfig = ''
       # don’t shutdown when power button is short-pressed
       HandlePowerKey=ignore
diff --git a/hosts/luna/hardware.nix b/hosts/luna/hardware.nix
index ade190f..e99b98e 100644
--- a/hosts/luna/hardware.nix
+++ b/hosts/luna/hardware.nix
@@ -49,6 +49,8 @@ in
       # Enable touchpad support (enabled default in most desktopManager).
       synaptics.enable = true;
     };
+    fstrim.enable = true;
+    tlp.enable = true;
   };
 
   hardware = {