summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Propellor/Property/LightDM.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Propellor/Property/LightDM.hs b/src/Propellor/Property/LightDM.hs
index bc5ef22a..75e3b19a 100644
--- a/src/Propellor/Property/LightDM.hs
+++ b/src/Propellor/Property/LightDM.hs
@@ -5,8 +5,12 @@
module Propellor.Property.LightDM where
import Propellor.Base
+import qualified Propellor.Property.Apt as Apt
import qualified Propellor.Property.ConfFile as ConfFile
+installed :: Property NoInfo
+installed = Apt.installed ["lightdm"]
+
-- | Configures LightDM to skip the login screen and autologin as a user.
autoLogin :: User -> Property NoInfo
autoLogin (User u) = "/etc/lightdm/lightdm.conf" `ConfFile.containsIniSetting`