guix-config

guix system configuration/declaration
git clone git://git.eonn.xyz/guix-config.git
Log | Files | Refs | LICENSE

commit de51aaaf11d122daffd1c370b9872246b234c9fb
parent 87adf04a1180133650ead4f19692cbdb9f42dea1
Author: iressa <ian@eonn.xyz>
Date:   Thu, 20 Jan 2022 00:42:59 -0500

add orb.scm

Diffstat:
Asystem/orb.scm | 72++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+), 0 deletions(-)

diff --git a/system/orb.scm b/system/orb.scm @@ -0,0 +1,72 @@ +(use-modules + (gnu) + (gnu services networking) + (gnu services dbus) + (gnu services desktop) + (nongnu packages linux) + (nongnu system linux-initrd) + (eonn guix packages) + + ;;For concatenate + (srfi srfi-1)) + +(define %my-services + (cons* + (service network-manager-service-type) + (service wpa-supplicant-service-type) + (service polkit-service-type) + (dbus-service) + (service elogind-service-type + (elogind-configuration + (handle-lid-switch 'hibernate))) + (udisks-service) + (modify-services %base-services + (login-service-type config => + (login-configuration + (inherit config) + (motd (plain-file "motd" "\ + Hot chicken hot chicken, what combo you pickin?\n\n"))))))) + +(define %my-packages + (append (concatenate (list + xorg-packages + xorg-misc-packages + font-packages + desktop-packages + tools-packages)) + %base-packages)) + +(operating-system + (host-name "orb") + (timezone "America/New_York") + (locale "en_US.utf8") + +;;nonfree components + (kernel linux) + (initrd microcode-initrd) + (firmware (cons* iwlwifi-firmware + %base-firmware)) +;; + + (keyboard-layout (keyboard-layout "us" "colemak")) + + (bootloader (bootloader-configuration + (bootloader grub-efi-bootloader) + (targets '("boot/")) + (keyboard-layout keyboard-layout))) + + (file-systems (append + (list (file-system + (device (file-system-label "guixfs")) + (mount-point "/") + (type "ext4"))) + %base-file-systems)) + + (users (cons (user-account + (name "ian") + (group "users") + (supplementary-groups '("wheel" "netdev" "audio" "video"))) + %base-user-accounts)) + + (packages %my-packages) + (services %my-services))