-
Notifications
You must be signed in to change notification settings - Fork 0
/
vulture.scm
128 lines (121 loc) · 3.25 KB
/
vulture.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
;; my work notebook
(use-modules (gnu)
(gnu system)
(gnu system linux-initrd)
(guix gexp)
(guix store)
(srfi srfi-1))
(use-package-modules
admin
autotools
avahi
base
bash
bootloaders
certs
code
commencement
connman
cryptsetup
curl
display-managers
emacs
enlightenment
gdb
glib
gnome
gnuzilla
linux
linux-vanilla
mail
mc
patchutils
ssh
suckless
synergy
texinfo
tls
version-control
video
vpn
web-browsers
wget
wm
xfce
xorg)
(use-service-modules
avahi
base
desktop
networking
ssh
xorg)
(operating-system
(host-name "vulture")
(timezone "Europe/Prague")
(locale "cs_CZ.utf8")
;; prepare configuration but don't install bootloader
(bootloader
(bootloader-configuration
(bootloader
(bootloader
(inherit grub-bootloader) (installer #~(const #t))))))
;; root filesystem
(file-systems (append (list (file-system
(title 'device)
(device "/dev/sda3")
(mount-point "/")
(type "ext4")
(needed-for-boot? #t)))
%base-file-systems))
(swap-devices '("/dev/sda2"))
(users (cons (user-account
(name "tcech")
(uid 1000) (group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(comment "Tomáš Čech")
(password "password")
(home-directory "/home/tcech"))
%base-user-accounts))
(packages
(append
(list
nss-certs
;;;; absolutely necessary ;;;;;
emacs lvm2 bash texinfo
grub nss-mdns procps cryptsetup alsa-utils
;;;; networking ;;;;
iw iproute links wpa-supplicant dbus
;; connman
vpnc openconnect openssl ;; for config in /etc
;;;;; other ;;;;;
slock ;; required here because of setuid bit
xrandr ;; for monitor udev rule hook
wget curl ;; default web access from scripts or command line
i3-wm ;; if not system-wide, can't be use for login session
htop mc ncdu ;; basic system tools
)
%base-packages))
(services (cons* (gnome-desktop-service)
(xfce-desktop-service)
;; Using 'canonical-package' as bash and coreutils
;; canonical packages are already a part of
;; '%base-packages'.
(service special-files-service-type
`(("/bin/sh"
,(file-append (canonical-package
(guix-package bash bash))
"/bin/bash"))
("/bin/bash"
,(file-append (canonical-package
(guix-package bash bash))
"/bin/bash"))
("/usr/bin/env"
,(file-append (canonical-package
(guix-package base coreutils))
"/bin/env"))))
%desktop-services))
(name-service-switch %mdns-host-lookup-nss)
(kernel linux-vulture)
(initrd-modules '()))