summaryrefslogtreecommitdiff
path: root/joeyconfig.hs
diff options
context:
space:
mode:
Diffstat (limited to 'joeyconfig.hs')
-rw-r--r--joeyconfig.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/joeyconfig.hs b/joeyconfig.hs
index 588adfe3..c1b2bee4 100644
--- a/joeyconfig.hs
+++ b/joeyconfig.hs
@@ -468,15 +468,21 @@ keysafe = host "keysafe.joeyh.name" $ props
-- This is a 500 mb VM, so need more ram to build propellor.
& Apt.serviceInstalledRunning "swapspace"
& Cron.runPropellor (Cron.Times "30 * * * *")
- & Apt.installed ["openssh-server", "etckeeper", "sudo"]
+ & Apt.installed ["etckeeper", "sudo"]
+
& User.hasSomePassword (User "root")
& User.accountFor (User "joey")
& User.hasSomePassword (User "joey")
& Sudo.enabledFor (User "joey")
+
+ & Ssh.installed
& Ssh.randomHostKeys
+ & User "root" `Ssh.authorizedKeysFrom` (User "joey", darkstar)
& User "joey" `Ssh.authorizedKeysFrom` (User "joey", darkstar)
& Ssh.noPasswords
+ & Tor.installed
+
iabak :: Host
iabak = host "iabak.archiveteam.org" $ props
& ipv4 "124.6.40.227"