From 829ba8fd9fbd52f5d1c215b8b4e4632d3fdc1266 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Mon, 17 Jan 2022 12:08:53 +0300 Subject: [PATCH] Enable fstrim --- flake.lock | 6 +++--- profiles/hardware.nix | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 7ee4732..6274ce8 100644 --- a/flake.lock +++ b/flake.lock @@ -386,11 +386,11 @@ "nixpkgs": "nixpkgs_6" }, "locked": { - "lastModified": 1641305975, - "narHash": "sha256-6VxzAecTD5GNMBvGt6HJNqNGH/y+NpZIQ/gHmwdZ208=", + "lastModified": 1642080821, + "narHash": "sha256-Nx8ijBPupciATOASX1DhOQpNJuz1tWL8P8Xb01jiHok=", "owner": "nixos", "repo": "nix", - "rev": "8f214a3771f43fc77e127b87523c86ffbd94d884", + "rev": "5e9653c3701eddf86312b534d7e8340c0857e84b", "type": "github" }, "original": { diff --git a/profiles/hardware.nix b/profiles/hardware.nix index ad9358b..a131f3c 100644 --- a/profiles/hardware.nix +++ b/profiles/hardware.nix @@ -3,4 +3,5 @@ systemd.services.systemd-udev-settle.enable = false; services.fwupd.enable = true; # sound.enable = true; + services.fstrim.enable = true; }