~abcdw/trop.in

3cf7d29efcbd4de9b7839273bc216ab704db7033 — Andrew Tropin 5 months ago 110f0bc
Move use-modules to module definition.
1 files changed, 22 insertions(+), 6 deletions(-)

M src/tropin/machines.scm
M src/tropin/machines.scm => src/tropin/machines.scm +22 -6
@@ 1,9 1,25 @@
(define-module (tropin machines))

(use-modules (gnu) (guix) (gnu machine) (gnu machine ssh)
             (gnu services) (gnu system) (gnu system pam))
(use-service-modules networking ssh web shepherd)
(use-package-modules bootloaders ssh web)
(define-module (tropin machines)
  #:use-module (gnu machine)
  #:use-module (gnu machine ssh)
  #:use-module (gnu system)
  #:use-module (gnu system mapped-devices)
  #:use-module (gnu system uuid)
  #:use-module (gnu system file-systems)
  #:use-module (gnu system accounts)
  #:use-module (gnu system shadow)
  #:use-module (gnu bootloader)
  #:use-module (gnu bootloader grub)
  #:use-module (gnu services)
  #:use-module (gnu services base)
  #:use-module (gnu services networking)
  #:use-module (gnu services ssh)
  #:use-module (gnu services web)
  #:use-module (gnu services shepherd)
  #:use-module (gnu packages bootloaders)
  #:use-module (gnu packages)
  #:use-module (gnu packages ssh)
  #:use-module (gnu packages web)
  #:use-module (guix gexp))

(define nginx-service
  (service