projects/guix·blob python-team · refs

58 lines · 2.1 KiB

1;; -*- mode: scheme; -*-
2;; This is an operating system configuration template
3;; for a "desktop" setup without full-blown desktop
4;; environments.
5
6(use-modules (gnu) (gnu system nss))
7(use-service-modules desktop)
8(use-package-modules bootloaders emacs emacs-xyz ratpoison suckless wm
9 xorg)
10
11(operating-system
12 (host-name "antelope")
13 (timezone "Europe/Paris")
14 (locale "en_US.utf8")
15
16 ;; Use the UEFI variant of GRUB with the EFI System
17 ;; Partition mounted on /boot/efi.
18 (bootloader (bootloader-configuration
19 (bootloader grub-efi-bootloader)
20 (targets '("/boot/efi"))))
21
22 ;; Assume the target root file system is labelled "my-root",
23 ;; and the EFI System Partition has UUID 1234-ABCD.
24 (file-systems (append
25 (list (file-system
26 (device (file-system-label "my-root"))
27 (mount-point "/")
28 (type "ext4"))
29 (file-system
30 (device (uuid "1234-ABCD" 'fat))
31 (mount-point "/boot/efi")
32 (type "vfat")))
33 %base-file-systems))
34
35 (users (cons (user-account
36 (name "alice")
37 (comment "Bob's sister")
38 (group "users")
39 (supplementary-groups '("wheel" "netdev"
40 "audio" "video")))
41 %base-user-accounts))
42
43 ;; Add a bunch of window managers; we can choose one at
44 ;; the log-in screen with F1.
45 (packages (append (list
46 ;; window managers
47 ratpoison i3-wm i3status dmenu
48 emacs emacs-exwm emacs-desktop-environment
49 ;; terminal emulator
50 xterm)
51 %base-packages))
52
53 ;; Use the "desktop" services, which include the X11
54 ;; log-in service, networking with NetworkManager, and more.
55 (services %desktop-services)
56
57 ;; Allow resolution of '.local' host names with mDNS.
58 (name-service-switch %mdns-host-lookup-nss))