Fix some bugs in the little-rascal system config

This commit is contained in:
Ray Miller 2024-11-29 13:57:00 +00:00
parent 8c8e536c65
commit d64de012e7

View file

@ -16,12 +16,12 @@
;; root file system. ;; root file system.
(bootloader (bootloader-configuration (bootloader (bootloader-configuration
(bootloader grub-bootloader) (bootloader grub-bootloader)
(targets '("/dev/vda")))) (targets '("/dev/sda"))))
;; It's fitting to support the equally bare bones `-nographic` ;; It's fitting to support the equally bare bones `-nographic`
;; QEMU option, which also nicely sidesteps forcing QWERTY. ;; QEMU option, which also nicely sidesteps forcing QWERTY.
(kernel-arguments (list "console=ttyS0,115200")) (kernel-arguments (list "console=ttyS0,115200"))
(file-systems (cons (file-system (file-systems (cons (file-system
(device (file-system-label "/dev/vda1")) (device "/dev/sda2")
(mount-point "/") (mount-point "/")
(type "ext4")) (type "ext4"))
%base-file-systems)) %base-file-systems))
@ -58,11 +58,7 @@ root ALL=(ALL) ALL
(routes (routes
(list (network-route (list (network-route
(destination "default") (destination "default")
(gateway "192.168.200.1")) (gateway "192.168.200.1"))))
(network-route
(destination "192.168.200.0/24")
(source "192.168.200.2")
(device "ens3"))))
(name-servers '("192.168.200.1"))))) (name-servers '("192.168.200.1")))))
(service openssh-service-type (service openssh-service-type
(openssh-configuration (openssh-configuration