Add Samba/SSH/Bupstash deployment.

Change-Id: I4e16583990514b28531c99b2ed3dc21e09debe98
diff --git a/images.nix b/images.nix
index dfa228d..8db4d03 100644
--- a/images.nix
+++ b/images.nix
@@ -147,7 +147,7 @@
 
             install -Dm755 $src/init $out/init
 
-            for svc in avahi dbus nmbd smbd; do
+            for svc in avahi dbus nmbd smbd sshd; do
                 install -Dm755 $src/service/$svc/run $out/service/$svc/run
             done
 
@@ -161,9 +161,12 @@
       contents = with pkgs; [
         # Services.
         avahi
+        bupstash
         dbus
+        openssh
         #samba4Full
         (samba.override { enableMDNS = true; enableProfiling = false; enableRegedit = false; })
+        scponly
 
         # Control.
         execline
@@ -255,12 +258,16 @@
 
           group =
             builtins.toFile "group" ''
+              root::0:
+              sshd::996:
               dbus::997:
               avahi::998:
             '';
 
           passwd =
             builtins.toFile "passwd" ''
+              root::0:0::/tmp:/nonexistent
+              sshd::996:996::/tmp:/nonexistent
               dbus::997:997::/tmp:/nonexistent
               avahi::998:998::/tmp:/nonexistent
               nobody::999:999::/tmp:/nonexistent