This commit is contained in:
Kopatz
2025-03-18 16:27:20 +01:00
parent 923ab37209
commit cc32af7b80
131 changed files with 2383 additions and 2224 deletions

View File

@@ -1,15 +1,15 @@
{config, lib, ...}:
{ config, lib, ... }:
with lib;
let
cfg = config.custom.hardware.ssd;
cfg = config.custom.hardware.ssd;
in
{
options.custom.hardware.ssd = {
enable = mkEnableOption "Enables fstrim";
};
config = mkIf cfg.enable {
services.fstrim.enable = true;
};
options.custom.hardware.ssd = {
enable = mkEnableOption "Enables fstrim";
};
config = mkIf cfg.enable {
services.fstrim.enable = true;
};
}