summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2015-12-29 11:37:42 -0400
committerJoey Hess2015-12-29 11:37:42 -0400
commit69349798d86d8ce85e7768e9bae9b53b13529519 (patch)
tree7f2dabf831f34d32b3378b973d053f2d2e4c359a /src/Propellor
parentc98120966770db0329589c2aaf76e36131052cbd (diff)
parentc01b693e655ce146e8be281b2dda93a64a7d4bca (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor')
-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`