2019-01-22 23:38:43 +01:00
|
|
|
;; With Eshell:
|
2019-06-06 11:47:41 +02:00
|
|
|
;; *sudo -E guix system -L ~/.config/guix/system reconfigure ~/.config/guix/system/desktop-bababa.scm
|
|
|
|
(define-module (desktop-bababa)
|
|
|
|
#:use-module (default)
|
2019-06-15 11:19:21 +02:00
|
|
|
#:use-module (nongnu packages linux)
|
2019-01-22 23:38:43 +01:00
|
|
|
#:use-module (gnu system)
|
|
|
|
#:use-module (gnu bootloader)
|
|
|
|
#:use-module (gnu bootloader grub)
|
|
|
|
#:use-module (gnu packages linux)
|
|
|
|
#:use-module (gnu system file-systems))
|
|
|
|
|
|
|
|
(operating-system
|
|
|
|
(inherit default-operating-system)
|
2019-01-25 09:51:12 +01:00
|
|
|
(host-name "bababa")
|
|
|
|
|
2019-01-22 23:38:43 +01:00
|
|
|
(bootloader (bootloader-configuration
|
|
|
|
(bootloader grub-bootloader)
|
|
|
|
(timeout 1)
|
|
|
|
(target "/dev/sdb")))
|
2019-02-06 14:44:55 +01:00
|
|
|
|
|
|
|
;; (kernel linux-libre)
|
|
|
|
;; (firmware %base-firmware)
|
2019-06-15 11:19:21 +02:00
|
|
|
(firmware (append (list amdgpu-firmware)
|
2019-02-06 14:44:55 +01:00
|
|
|
%base-firmware))
|
|
|
|
|
2019-01-22 23:38:43 +01:00
|
|
|
(file-systems (cons* (file-system
|
|
|
|
(device (file-system-label "guixsd"))
|
|
|
|
(mount-point "/")
|
|
|
|
(type "ext4"))
|
|
|
|
(file-system
|
|
|
|
(device (file-system-label "babadata"))
|
|
|
|
(mount-point "/media/babadata")
|
|
|
|
(type "ext4")
|
|
|
|
(create-mount-point? #t))
|
|
|
|
%base-file-systems)))
|