diff options
| author | Joey Hess <joeyh@joeyh.name> | 2018-03-14 12:45:02 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2018-03-14 12:45:02 -0400 |
| commit | 185e4cfd08e6c3650de0fad7430d420c051e97f4 (patch) | |
| tree | 80e0e7e207363a375fe21465fbba4a3b169eb499 /src | |
| parent | 201b19725fc19c1bae3c5a9482f756e14510c503 (diff) | |
propellor spin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Laptop.hs | 4 | ||||
| -rw-r--r-- | src/Propellor/Property/SiteSpecific/JoeySites.hs | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/Propellor/Property/Laptop.hs b/src/Propellor/Property/Laptop.hs index a36bda18..40b3adb9 100644 --- a/src/Propellor/Property/Laptop.hs +++ b/src/Propellor/Property/Laptop.hs @@ -26,3 +26,7 @@ powertopAutoTuneOnBoot = setup <!> undo `requires` check (doesFileExist servicefile) (Systemd.disabled "powertop") servicefile = "/etc/systemd/system/powertop.service" + +-- | Enables weekly TRIM for SSDs, using systemd's fstrim.timer, +trimSSD :: Property Linux +trimSSD = Systemd.enabled "fstrim.timer" diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 0997401c..1f3ef169 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -636,6 +636,7 @@ dkimMilter = Postfix.mainCfFile `File.containsLines` `onChange` Postfix.dedupMainCf `onChange` Postfix.reloaded `requires` dkimInstalled + `requires` Postfix.installed -- This does not configure postfix to use the dkim milter, -- nor does it set up domainkey DNS. |
