$ cat config.scm; echo ""; echo "HERE ENDS CONFIG.SCM";echo ""; make (add-to-load-path "/home/thomas/guixsd/modules/tms") (use-modules (gnu) (gnu system) (gnu system nss) (gnu packages libusb) (guix monads) (guix store) (ice-9 rdelim) (srfi srfi-1) (linux-nonfree) ; (wkhtmltopdf) ; (etc-symlinks) ; (fpm2) ) (use-service-modules desktop base xorg ssh avahi dbus xorg networking cups) (use-package-modules avahi xorg certs wm zip code wget admin emacs tmux haskell ssh linux disk file gnuzilla version-control maths guile crypto gnupg password-utils pdf mail rsync suckless gnome video xdisorg terminals ssh music conkeror image-viewers package-management web-browsers tex tor libreoffice readline scribus adns games fontutils gnunet networking connman lisp certs cryptsetup fonts python photo qemu bittorrent password-utils engineering graphviz music mpd shells compression gnome enlightenment dns) (define hp-laptop-monitor-settings (call-with-input-file "/home/thomas/guixsd/dotfiles/etc/X11/xorg.conf.d/90-monitor.conf" read-string)) (define tms-desktop-services (remove (lambda (service) (eq? (service-kind service) wicd-service-type)) %desktop-services)) (operating-system (host-name "hitpoints") (timezone "Europe/Oslo") (locale "en_US.UTF-8") (kernel linux-nonfree) (firmware (cons* intel-iwlwifi-firmware-non-free %base-firmware)) (bootloader (grub-configuration (device "/dev/disk/by-id/ata-INTEL_SSDSC2CT240A4_CVKI246301DN240DGN"))) (swap-devices '("/dev/disk/by-label/swap")) (file-systems (cons* (file-system (device "rootfs") (title 'label) (mount-point "/") (type "ext4")) (file-system (device "nixos-root") (title 'label) (mount-point "/home/thomas/disk") (type "ext4") (create-mount-point? #t)) %base-file-systems)) (issue "Mercury.\n") (groups (cons (user-group (name "nixbld")) %base-groups)) (users (list (user-account (name "thomas") (comment "This should be interesting...") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video" "lp" "tor" "lpadmin" "avahi" "users" "kvm" "nixbld")) (home-directory "/home/thomas")))) ;;; Maybe use or adapt alezost-guile al/places.scm? ;;; Add visudo check into sudoers-file PROC - patch into GuixSD? (sudoers-file (local-file "/home/thomas/guixsd/dotfiles/etc/sudoers")) (hosts-file (local-file "/home/thomas/guixsd/dotfiles/etc/hosts")) (packages (cons* i3-wm i3status hicolor-icon-theme ;desktop environment ;useful tools avahi zip unzip tar tmux htop tree mosh unrar the-silver-searcher psmisc wget file strace inotify-tools wgetpaste rsync dmenu openssh lsh feh stow mcelog readline libcap wcalc graphviz xdotool ;; gvfs ; for automounting as user, check gvfsd as a service before ;; enabling ; X xbindkeys xterm xmodmap setxkbmap xclip xkill xbacklight xorg-server xf86-input-evdev xf86-video-fbdev xf86-video-intel xf86-input-synaptics xev xdpyinfo xrdb xrandr xfontsel ; font fontconfig font-inconsolata font-google-noto ;;font-google-material-design-icons font-gnu-unifont ; laptop specific acpi freefall ; dev git gnu-make python-2 python-3 binutils fritzing librecad guile-lib jupyter python-ipython ;;openscad? ; virtualization virt-manager ; misc tools units gnuplot ; media video audio music images mps-youtube mpv perl-image-exiftool ;;alsa-utils ncmpcpp mpd rage ;; test ; terminals and emulators st termite xonsh ; Networking, crypto & security tomb gnupg pwgen tor torsocks nmap adns iodine gnunet gnunet-gtk connman transmission password-store bind onionshare ;for HTTPS access nss-certs ; web browser icecat conkeror dillo ; email claws-mail ; document conversion and office ghc-pandoc libreoffice texlive ;;wkhtmltopdf scribus ; emacs emacs emacs-guix emacs-magit-popup emacs-smart-mode-line emacs-rainbow-delimiters emacs-rainbow-identifiers emacs-scheme-complete emacs-neotree emacs-ag flycheck emacs-undo-tree emacs-fill-column-indicator emacs-scheme-complete emacs-pdf-tools emacs-solarized-theme geiser guile-2.0 paredit ; pdf zathura zathura-cb zathura-djvu zathura-pdf-poppler zathura-ps qpdf evince lekha mupdf ;; TEST! ; Games hyperrogue minetest laby manaplus angband mars warzone2100 kobodeluxe mrrescue megaglest kiki %base-packages)) (services (cons* (console-keymap-service "us") (service cups-service-type (cups-configuration (web-interface? #t) (browsing? #t) (default-paper-size "a4"))) (service connman-service-type (connman-configuration (disable-vpn? #f))) (service wpa-supplicant-service-type wpa-supplicant) (tor-service (local-file "/home/thomas/guixsd/dotfiles/etc/tor/torrc")) (modify-services tms-desktop-services (dbus-service config => #:services (list connman avahi)) (slim-service-type config => (slim-configuration (inherit config) (startx (xorg-start-command #:configuration-file (xorg-configuration-file #:extra-config (list hp-laptop-monitor-settings)))))) (guix-service-type config => (guix-configuration (inherit config) (extra-options '("--max-jobs=2" "--cores=2"))))) )) ; end services ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss) ) HERE ENDS CONFIG.SCM sudo cp ./config.scm "/etc/config.scm" sudo cp ./machines.scm "/etc/guix/machines.scm" sudo guix system reconfigure "/etc/config.scm" Backtrace: In srfi/srfi-1.scm: 592:29 19 (map1 (# …)) 592:29 18 (map1 (# …)) 592:29 17 (map1 (# …)) 592:29 16 (map1 (# …)) 592:29 15 (map1 (# …)) 592:29 14 (map1 (# …)) 592:29 13 (map1 (# …)) 592:29 12 (map1 (# …)) 592:29 11 (map1 (# …)) 592:29 10 (map1 (# …)) 592:29 9 (map1 (# …)) 592:29 8 (map1 (# …)) 592:29 7 (map1 (# …)) 592:29 6 (map1 (# …)) 592:29 5 (map1 (# …)) 592:29 4 (map1 (# …)) 592:29 3 (map1 (# …)) 592:29 2 (map1 (# …)) 592:17 1 (map1 (# # …)) In guix/profiles.scm: 199:8 0 (_ _) guix/profiles.scm:199:8: guix/profiles.scm:199:8: Throw to key `match-error' with args `("match" "no matching pattern" #)'. make: *** [Makefile:14: reconf] Error 1