rekahsoft
/
guix-config
Archived
1
1
Fork 0

Example guix system docker-image

Signed-off-by: Collin J. Doering <collin@rekahsoft.ca>
This commit is contained in:
Collin J. Doering 2019-09-06 00:59:56 -04:00
parent 3b89e0714e
commit 3d5e6355a0
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
1 changed files with 7 additions and 13 deletions

View File

@ -17,13 +17,11 @@
(bootloader grub-bootloader)
(target "/dev/sdX")))
;; (file-systems (cons* (file-system
;; (device (file-system-label "my-root"))
;; (mount-point "/")
;; (type "ext4"))
;; %container-file-systems))
(file-systems %container-file-systems)
(file-systems (cons* (file-system
(device (file-system-label "root"))
(mount-point "/")
(type "ext4"))
%container-file-systems))
;; This is where user accounts are specified. The "root"
;; account is implicit, and is initially created with the
@ -40,10 +38,6 @@
(packages (cons python-wrapper
%base-packages))
;; Add services to the baseline: a DHCP client and
;; an SSH server.
(services (append (list (service dhcp-client-service-type)
(service openssh-service-type
(openssh-configuration
(port-number 2222))))
;; Add services to the baseline: a DHCP client
(services (append (list (service dhcp-client-service-type))
%base-services)))