config/guix/system: Name operating systems.
parent
35320ff02e
commit
218520fd7a
|
@ -90,14 +90,14 @@ StrictNodes 1")
|
||||||
;; exfat-utils ; TODO: Needed for macOS drives? Does not seem to work.
|
;; exfat-utils ; TODO: Needed for macOS drives? Does not seem to work.
|
||||||
fuse-exfat
|
fuse-exfat
|
||||||
emacs-exwm
|
emacs-exwm
|
||||||
vhba-module
|
vhba-module ; For CDEmu.
|
||||||
%base-packages))
|
%base-packages))
|
||||||
|
|
||||||
(define-public %ambrevar/firmware
|
(define-public %ambrevar/firmware
|
||||||
(append ;; (list vhba-module) ; TODO: Useless?
|
(append ;; (list vhba-module) ; TODO: Useless?
|
||||||
%base-firmware))
|
%base-firmware))
|
||||||
|
|
||||||
(define-public default-operating-system
|
(define-public %ambrevar/default-os
|
||||||
(operating-system
|
(operating-system
|
||||||
(host-name "ambrevar-system")
|
(host-name "ambrevar-system")
|
||||||
(timezone "Europe/Paris")
|
(timezone "Europe/Paris")
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
;; With Eshell:
|
||||||
|
;; *sudo -E guix system -L ~/.config/guix/system reconfigure ~/.config/guix/system/desktop-bababa-emtec.scm
|
||||||
|
(define-module (desktop-bababa)
|
||||||
|
#:use-module (default)
|
||||||
|
#:use-module (gnu)
|
||||||
|
#:use-module (gnu system)
|
||||||
|
#:use-module (gnu services))
|
||||||
|
|
||||||
|
(operating-system
|
||||||
|
(inherit %bababa/os)
|
||||||
|
(services (cons*
|
||||||
|
;; TODO: Might need 9.6 for Iroha.
|
||||||
|
(postgresql-service)
|
||||||
|
(service docker-service-type)
|
||||||
|
(operating-system-services %bababa/os))))
|
|
@ -9,8 +9,6 @@
|
||||||
|
|
||||||
(use-service-modules
|
(use-service-modules
|
||||||
nix
|
nix
|
||||||
docker ; REVIEW: Needs 'modprobe overlay'?
|
|
||||||
databases ; PostgreSQL
|
|
||||||
;; libvirt:
|
;; libvirt:
|
||||||
virtualization)
|
virtualization)
|
||||||
|
|
||||||
|
@ -26,8 +24,9 @@
|
||||||
(service nix-service-type)
|
(service nix-service-type)
|
||||||
%ambrevar/services))
|
%ambrevar/services))
|
||||||
|
|
||||||
|
(define-public %bababa/os
|
||||||
(operating-system
|
(operating-system
|
||||||
(inherit default-operating-system)
|
(inherit %ambrevar/default-os)
|
||||||
(host-name "bababa")
|
(host-name "bababa")
|
||||||
|
|
||||||
(bootloader (bootloader-configuration
|
(bootloader (bootloader-configuration
|
||||||
|
@ -63,7 +62,6 @@
|
||||||
(service libvirt-service-type
|
(service libvirt-service-type
|
||||||
(libvirt-configuration
|
(libvirt-configuration
|
||||||
(unix-sock-group "kvm")))
|
(unix-sock-group "kvm")))
|
||||||
;; TODO: Might need 9.6 for Iroha.
|
%bababa/services))))
|
||||||
(postgresql-service)
|
|
||||||
(service docker-service-type)
|
%bababa/os
|
||||||
%bababa/services)))
|
|
||||||
|
|
|
@ -123,7 +123,7 @@ EndSection")
|
||||||
(extra-config (list %mimimi/xorg-touchpad)))))))))
|
(extra-config (list %mimimi/xorg-touchpad)))))))))
|
||||||
|
|
||||||
(operating-system
|
(operating-system
|
||||||
(inherit default-operating-system)
|
(inherit %ambrevar/default-os)
|
||||||
(host-name "mimimi")
|
(host-name "mimimi")
|
||||||
|
|
||||||
(kernel linux)
|
(kernel linux)
|
||||||
|
|
Loading…
Reference in New Issue