summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2017-07-05 17:27:57 -0400
committerJoey Hess2017-07-05 17:27:57 -0400
commit3451ca8beeb58a3bdd864cd1009ba9f0e314b442 (patch)
treed98c54cfa8e8c5918a6b7e5f48197a6bd821bfa5 /src/Propellor
parentaa047d79de3422a677bf022f48cf59634193589f (diff)
add XFCE.networkManager
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/XFCE.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Propellor/Property/XFCE.hs b/src/Propellor/Property/XFCE.hs
index 6241326e..dc57660f 100644
--- a/src/Propellor/Property/XFCE.hs
+++ b/src/Propellor/Property/XFCE.hs
@@ -10,11 +10,16 @@ installed = Apt.installed ["task-xfce-desktop"]
`describe` "XFCE desktop installed"
-- | Minimal install of XFCE, with a terminal emulator and panel,
--- and X, but not any of the extras.
+-- and X and network-manager, but not any of the extra apps.
installedMin :: Property DebianLike
installedMin = Apt.installedMin ["xfce4", "xfce4-terminal", "task-desktop"]
`describe` "minimal XFCE desktop installed"
+-- | Installs network-manager-gnome, which is the way to get
+-- network-manager to manage networking in XFCE too.
+networkManager :: Property DebianLike
+networkManager = Apt.installedMin ["network-manager-gnome"]
+
-- | Normally at first login, XFCE asks what kind of panel the user wants.
-- This enables the default configuration noninteractively.
defaultPanelFor :: User -> File.Overwrite -> Property DebianLike