diff options
-rw-r--r-- | .guix/guix-na/config/balg02.scm | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/.guix/guix-na/config/balg02.scm b/.guix/guix-na/config/balg02.scm index aeb6644..d695581 100644 --- a/.guix/guix-na/config/balg02.scm +++ b/.guix/guix-na/config/balg02.scm @@ -27,24 +27,28 @@ #:use-module (gnu services networking) #:use-module (gnu services ssh) #:use-module (gnu services web) - #:export (balg02 %system)) + #:export (%system)) (define %automation-user "auto") -(define (balg02 disk) +(define %system (operating-system (host-name "balg02") (timezone "US/Central") (locale "en_US.utf8") (keyboard-layout (keyboard-layout "us")) + (kernel-arguments + (cons* "console=ttyS0,115200" "console=tty0" + %default-kernel-arguments)) + (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (terminal-inputs '(console serial_1)) (terminal-outputs '(console serial_1)) (serial-unit 1) (serial-speed 115200) - (targets `(,disk)))) + (targets '("/boot/efi")))) (file-systems (append (list (file-system @@ -116,6 +120,4 @@ (gateway "216.37.76.1")))) (name-servers '("216.37.64.2" "216.37.64.3"))))) (service ntp-service-type)) - %base-services)))) - -(define %system (balg02 "/dev/sda")) + %base-services)))) |