- $ 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
- 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
- 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 (#<package mpd@0.20.6 gnu/packages/mpd.scm:76 …> …))
- 592:29 18 (map1 (#<package rage@0.2.1 gnu/packages/enlightenme…> …))
- 592:29 17 (map1 (#<package st@0.7 gnu/packages/suckless.scm:22…> …))
- 592:29 16 (map1 (#<package termite@12 gnu/packages/terminals.s…> …))
- 592:29 15 (map1 (#<package xonsh@0.5.9 gnu/packages/shells.scm…> …))
- 592:29 14 (map1 (#<package tomb@2.3 gnu/packages/crypto.scm:31…> …))
- 592:29 13 (map1 (#<package gnupg@2.1.21 gnu/packages/gnupg.scm…> …))
- 592:29 12 (map1 (#<package pwgen@2.07 gnu/packages/password-ut…> …))
- 592:29 11 (map1 (#<package tor@0.3.0.7 gnu/packages/tor.scm:44…> …))
- 592:29 10 (map1 (#<package torsocks@2.2.0 gnu/packages/tor.scm…> …))
- 592:29 9 (map1 (#<package nmap@7.40 gnu/packages/admin.scm:15…> …))
- 592:29 8 (map1 (#<package adns@1.5.1 gnu/packages/adns.scm:28…> …))
- 592:29 7 (map1 (#<package iodine@0.7.0 gnu/packages/networkin…> …))
- 592:29 6 (map1 (#<package gnunet@0.10.1 gnu/packages/gnunet.s…> …))
- 592:29 5 (map1 (#<package gnunet-gtk@0.10.1 gnu/packages/gnun…> …))
- 592:29 4 (map1 (#<package connman@1.34 gnu/packages/connman.s…> …))
- 592:29 3 (map1 (#<package transmission@2.92 gnu/packages/bitt…> …))
- 592:29 2 (map1 (#<package password-store@1.7.1 gnu/packages/p…> …))
- 592:17 1 (map1 (#<procedure bind (_ _ #:optional _ . _)> #<pa…> …))
- 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" #<procedure bind (_ _ #:optional _ . _)>)'.
- make: *** [Makefile:14: reconf] Error 1