(use-modules (gnu) (gnu system nss))
(use-service-modules networking desktop ssh)
(use-package-modules admin certs ncurses gnome bootloaders ratpoison suckless wm)
(operating-system
(host-name "quazar")
(timezone "Europe/Tiraspol")
(locale "ru_RU.utf8")
;; Assuming /dev/sdX is the target hard disk, and "my-root"
;; is the label of the target root file system.
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))
(swap-devices '("/dev/disk/by-partlabel/swap"))
(file-systems (cons* (file-system
(device (uuid "5abb41b1-8d43-47c5-80b8-69f83ef357d5"))
(title 'uuid)
(mount-point "/")
(options "compress=zlib")
(type "btrfs"))
(file-system
(device (uuid "b0069d1b-7874-46e2-9044-583d59f31f48"))
(title 'uuid)
(mount-point "/boot")
(type "ext4"))
%base-file-systems))
(users (cons (user-account
(name "domini")
(comment "mantainer")
(group "users")
(supplementary-groups '("wheel" "admin" "netdev"
"cdrom" "audio" "video"))
(home-directory "/home/domini"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
ratpoison i3-wm i3status dmenu ;window managers
ncurses
gnome
gvfs ;for user mounts
tcpdump
htop
%base-packages))
;; Add GNOME and/or Xfce---we can choose at the log-in
;; screen with F1. Use the "desktop" services, which
;; include the X11 log-in service, networking with Wicd,
;; and more.
(services (cons* (gnome-desktop-service)
(xfce-desktop-service)
(console-keymap-service "ru")
%desktop-services))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))