aboutsummaryrefslogtreecommitdiff
path: root/guix/system.scm
blob: 2c6eaaf26ade97f06500791ef7722e5f7fcbe5d7 (plain)
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
(use-modules (gnu) (gnu system nss))
(use-service-modules 
	base
	desktop
	xorg
	networking
	dbus
	)

(use-package-modules
;;	base
	gcc
	python
	certs
	wm ;; i3
	conky
	suckless ;; dmenu
	text-editors ;; vis
	version-control ;; git
	shells ;; fish
	admin ;; htop
	file ;; file
	video
	gnupg
	ssh
	linux ;; alsa-utils
	)

(operating-system
	(host-name "fishbowl")
	(timezone "Europe/Berlin")
	(locale "en_US.UTF-8")
	
	(bootloader (grub-configuration (device "/dev/sda")))
	
	(mapped-devices
		(list (mapped-device
			(source (uuid "47c46f56-bdf9-4982-a00e-4aaf8f3b969f"))
			(target "the-root-device")
			(type luks-device-mapping))))

	(file-systems (cons*
		(file-system
			(device "root")
			(title 'label)
			(mount-point "/")
			(type "ext4")
			(dependencies mapped-devices))
		%base-file-systems))

	(swap-devices '("/swap"))

	(users (cons
		(user-account
			(name "fischerling")
			(comment "")
			(group "users")
			(supplementary-groups '("wheel" "netdev"
						"audio" "video"))
			(home-directory "/home/fischerling"))
		%base-user-accounts))

	(packages (cons*
		i3-wm i3status dmenu ;; Desktop
		
		gcc python-wrapper git ;; Devel
		fish fish-guix
		vis
		htop file
		gnupg pinentry
		openssh
		alsa-utils
		nss-certs               ;for HTTPS access
		%base-packages))

	(services (cons* 
		(console-keymap-service "de")

		(slim-service )
		
		(wicd-service)
		
		(dbus-service)
		(polkit-service)
		(upower-service)
		(udisks-service)
		(colord-service)
		(ntp-service)
		%base-services))

	;; Allow resolution of '.local' host names with mDNS.
	(name-service-switch %mdns-host-lookup-nss))