summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/LightDM.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/LightDM.hs')
-rw-r--r--src/Propellor/Property/LightDM.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Property/LightDM.hs b/src/Propellor/Property/LightDM.hs
index b3756f6e..09f7165d 100644
--- a/src/Propellor/Property/LightDM.hs
+++ b/src/Propellor/Property/LightDM.hs
@@ -3,10 +3,10 @@
module Propellor.Property.LightDM where
import Propellor
-import qualified Propellor.Property.File as File
+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" `File.containsConfPair`
+autoLogin (User u) = "/etc/lightdm/lightdm.conf" `ConfFile.containsIniPair`
("SeatDefaults", "autologin-user", u)
`describe` "lightdm autologin"