-
- (use-modules (gnu) (gnu system nss))
- (use-service-modules desktop networking ssh)
- (use-package-modules bootloaders)
-
- (operating-system
- (host-name "mercy")
- (timezone "America/Los_Angeles")
- (locale "en_US.utf8")
-
- (bootloader (grub-configuration (grub grub-efi)
- (timeout "0")
- (target "/boot/efi")))
-
- (file-systems (cons* (file-system
- (device "/dev/sda2")
- (mount-point "/boot/efi")
- (type "vfat"))
- (file-system
- (device "/dev/sda5")
- (mount-point "/")
- (type "btrfs"))
- (file-system
- (type "ext4")
- (mount-point "/home/taohansen/mnt/tanha")
- (title 'uuid)
- (device (uuid "887c048c-3573-4ce7-8ac7-df1ca956df19")))
- %base-file-systems))
-
- (sudoers-file (plain-file "sudoers" "\
- root ALL=(ALL) ALL
- Defaults:taohansen !authenticate
- %wheel ALL=(ALL) NOPASSWD:ALL\n"))
-
- (users (cons (user-account
- (name "taohansen")
- (group "users")
- (supplementary-groups '("wheel" "netdev"
- "audio" "video"))
- (home-directory "/home/taohansen"))
- %base-user-accounts))
-
- (packages (append (map specification->package
- '("fish"
- "emacs-exwm"
- "nss-certs"
- "gvfs"
- "xrdb"
- "neovim"
- "wgetpaste"
- "rsync"
- "mosh"
- "ntfs-3g"
- "qutebrowser"
- "icecat"
- "guile-git"
- "mpv"
- "git"
- "xcb-util-cursor"
- "font-google-noto"))
- %base-packages))
-
- ;; Use the "desktop" services, which include the X11
- ;; log-in service, networking with Wicd, and more.
- (services (cons*
- (service openssh-service-type)
- %desktop-services))
-
- ;; Allow resolution of '.local' host names with mDNS.
- (name-service-switch %mdns-host-lookup-nss))
-