diff options
author | Collin J. Doering | 2024-04-01 22:32:53 -0400 |
---|---|---|
committer | Collin J. Doering | 2024-04-01 22:32:53 -0400 |
commit | fcc9d4815fe5f0f401247421431bde4fc6fbb95b (patch) | |
tree | 85f82cf33b08073ebae2ba0c99a638c829923ae6 /.guix/guix-na/config | |
parent | 41860316d0783c90aedf5784335822cdd7847568 (diff) | |
download | guix-north-america-fcc9d4815fe5f0f401247421431bde4fc6fbb95b.tar.gz |
balg02: Specify console kernel argument for ttyS0
* .guix/guix-na/config/balg02.scm: Remove export of temporary balg02 function
Diffstat (limited to '.guix/guix-na/config')
-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)))) |