1 | ;; This is my pc at work
|
---|
2 |
|
---|
3 | (use-modules (gnu) (gnu system nss)
|
---|
4 | (srfi srfi-1))
|
---|
5 |
|
---|
6 | (use-service-modules xorg desktop networking desktop databases web docker)
|
---|
7 | (use-package-modules certs geo)
|
---|
8 |
|
---|
9 | (operating-system
|
---|
10 | (host-name "w96k")
|
---|
11 | (timezone "Europe/Moscow")
|
---|
12 | (locale "ru_RU.utf8")
|
---|
13 |
|
---|
14 | ;; Choose US English keyboard layout. The "altgr-intl"
|
---|
15 | ;; variant provides dead keys for accented characters.
|
---|
16 | (keyboard-layout (keyboard-layout "us" "altgr-intl"))
|
---|
17 |
|
---|
18 | ;; Use the UEFI variant of GRUB with the EFI System
|
---|
19 | ;; Partition mounted on /boot/efi.
|
---|
20 | (bootloader (bootloader-configuration
|
---|
21 | (bootloader grub-efi-bootloader)
|
---|
22 | (target "/boot/efi")
|
---|
23 | ;; (target "/dev/sda")
|
---|
24 | (keyboard-layout keyboard-layout)))
|
---|
25 |
|
---|
26 | (file-systems (cons*
|
---|
27 | (file-system
|
---|
28 | (device (file-system-label "guix"))
|
---|
29 | (mount-point "/")
|
---|
30 | (type "ext4"))
|
---|
31 | (file-system
|
---|
32 | (device (uuid "ACA8-6834" `fat))
|
---|
33 | (mount-point "/boot/efi")
|
---|
34 | (type "vfat"))
|
---|
35 | %base-file-systems))
|
---|
36 |
|
---|
37 | (users (cons (user-account
|
---|
38 | (name "w96k")
|
---|
39 | (group "users")
|
---|
40 | (supplementary-groups '("wheel" "netdev"
|
---|
41 | "audio" "video"))
|
---|
42 | (home-directory "/home/w96k"))
|
---|
43 | %base-user-accounts))
|
---|
44 |
|
---|
45 | ;; This is where we specify system-wide packages.
|
---|
46 | (packages (append (map specification->package
|
---|
47 | '(
|
---|
48 | "ratpoison"
|
---|
49 | "stumpwm"
|
---|
50 | "emacs-no-x-toolkit"
|
---|
51 | "font-dejavu"
|
---|
52 | "font-inconsolata"
|
---|
53 | "font-fira-code"
|
---|
54 | "font-terminus"
|
---|
55 | "fontconfig"
|
---|
56 | "nix"
|
---|
57 | "bundler"
|
---|
58 | "node"
|
---|
59 | "ruby"
|
---|
60 | "git"
|
---|
61 | "htop"
|
---|
62 | "rxvt-unicode"
|
---|
63 | "nss-certs"
|
---|
64 | "gvfs"))
|
---|
65 | %base-packages))
|
---|
66 |
|
---|
67 | (services (cons*
|
---|
68 | (service slim-service-type)
|
---|
69 | ;; (set-xorg-configuration
|
---|
70 | ;; (xorg-configuration
|
---|
71 | ;; (keyboard-layout keyboard-layout))))
|
---|
72 |
|
---|
73 | (remove (lambda (service)
|
---|
74 | (eq? (service-kind service) gdm-service-type))
|
---|
75 | %desktop-services)))
|
---|
76 |
|
---|
77 | ;; Allow resolution of '.local' host names with mDNS.
|
---|
78 | (name-service-switch %mdns-host-lookup-nss))
|
---|