summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2015-08-20 10:14:18 -0400
committerJoey Hess2015-08-20 10:14:18 -0400
commit0a08f4a1541b3711861a67ff660d60d3f5d668e3 (patch)
tree66bbc9739d866d1737687a68bcdf642c744c9018
parente23c1fbfbf5b518cbbab17e32cc69937a8ee7539 (diff)
include lightdm module (and formatting)
-rw-r--r--propellor.cabal1
-rw-r--r--src/Propellor/Property/LightDM.hs4
2 files changed, 3 insertions, 2 deletions
diff --git a/propellor.cabal b/propellor.cabal
index 317f30d8..ad02c6b3 100644
--- a/propellor.cabal
+++ b/propellor.cabal
@@ -97,6 +97,7 @@ Library
Propellor.Property.Prosody
Propellor.Property.Reboot
Propellor.Property.List
+ Propellor.Property.LightDM
Propellor.Property.Scheduled
Propellor.Property.Service
Propellor.Property.Ssh
diff --git a/src/Propellor/Property/LightDM.hs b/src/Propellor/Property/LightDM.hs
index 09f7165d..156a2a82 100644
--- a/src/Propellor/Property/LightDM.hs
+++ b/src/Propellor/Property/LightDM.hs
@@ -8,5 +8,5 @@ import qualified Propellor.Property.ConfFile as ConfFile
-- | Configures LightDM to skip the login screen and autologin as a user.
autoLogin :: User -> Property NoInfo
autoLogin (User u) = "/etc/lightdm/lightdm.conf" `ConfFile.containsIniPair`
- ("SeatDefaults", "autologin-user", u)
- `describe` "lightdm autologin"
+ ("SeatDefaults", "autologin-user", u)
+ `describe` "lightdm autologin"