diff options
| author | Jelmer Vernooij <jelmer@jelmer.uk> | 2015-12-27 15:21:01 +0000 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-12-29 11:37:21 -0400 |
| commit | c01b693e655ce146e8be281b2dda93a64a7d4bca (patch) | |
| tree | ad53aa504646a14014c1d2f6969b528accfb5b93 /src/Propellor/Property/LightDM.hs | |
| parent | 0f720362b1c18a3824e52961e9f825d8b8cb33db (diff) | |
Add convenience .installed for lightdm.
Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
Diffstat (limited to 'src/Propellor/Property/LightDM.hs')
| -rw-r--r-- | src/Propellor/Property/LightDM.hs | 4 |
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` |
