summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/LightDM.hs
diff options
context:
space:
mode:
authorJoey Hess2017-07-05 17:29:19 -0400
committerJoey Hess2017-07-05 17:29:19 -0400
commit9648e1797f7f08b3465f6c301404ee0555c20881 (patch)
tree9273d7a1b1e6ae2223aac05bbb6f8afc162845ba /src/Propellor/Property/LightDM.hs
parent9d6c50fff28ed5ba7da7fdd2989c7773e357a3c3 (diff)
parent3451ca8beeb58a3bdd864cd1009ba9f0e314b442 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property/LightDM.hs')
-rw-r--r--src/Propellor/Property/LightDM.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Propellor/Property/LightDM.hs b/src/Propellor/Property/LightDM.hs
index 339fa9a3..69538d89 100644
--- a/src/Propellor/Property/LightDM.hs
+++ b/src/Propellor/Property/LightDM.hs
@@ -10,7 +10,8 @@ installed :: Property DebianLike
installed = Apt.installed ["lightdm"]
-- | Configures LightDM to skip the login screen and autologin as a user.
-autoLogin :: User -> Property UnixLike
+autoLogin :: User -> Property DebianLike
autoLogin (User u) = "/etc/lightdm/lightdm.conf" `ConfFile.containsIniSetting`
("SeatDefaults", "autologin-user", u)
`describe` "lightdm autologin"
+ `requires` installed