From 185e4cfd08e6c3650de0fad7430d420c051e97f4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 14 Mar 2018 12:45:02 -0400 Subject: propellor spin --- src/Propellor/Property/Laptop.hs | 4 ++++ src/Propellor/Property/SiteSpecific/JoeySites.hs | 1 + 2 files changed, 5 insertions(+) (limited to 'src/Propellor/Property') 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. -- cgit v1.2.3 From 42c810e4d86f2e0a3520e27568c0b76ce3281ede Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 18 Mar 2018 13:49:22 -0400 Subject: update --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor/Property') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 1f3ef169..80677322 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -1051,7 +1051,7 @@ laptopSoftware = Apt.installed , "xmonad", "libghc-xmonad-dev", "libghc-xmonad-contrib-dev" , "ttf-bitstream-vera" , "mairix", "offlineimap", "mutt" - , "nmap", "whois", "wireshark", "tcpdump", "iftop" + , "mtr", "nmap", "whois", "wireshark", "tcpdump", "iftop" , "udevil", "pmount", "tree", "pv" , "arbtt", "hledger", "bc" , "apache2", "ikiwiki", "libhighlight-perl" -- cgit v1.2.3