-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.scm
70 lines (63 loc) · 2.66 KB
/
config.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
;; Apply using: guix system reconfigure configuration.scm
(use-modules (gnu)
(gnu packages shells)
(nongnu packages linux)
(nongnu system linux-initrd))
(use-service-modules desktop networking ssh xorg docker mcron)
(operating-system
(locale "en_US.utf8")
(timezone "America/New_York")
(keyboard-layout (keyboard-layout "us"))
(host-name "guix")
(kernel linux)
(initrd microcode-initrd)
(firmware (list linux-firmware))
(users (cons* (user-account
(name "enzuru")
(comment "")
(group "users")
(home-directory "/home/enzuru")
(shell (file-append fish "/bin/fish"))
(supplementary-groups '("wheel" "netdev" "audio" "video" "docker")))
%base-user-accounts))
(packages
(append (list (specification->package "openbox")
(specification->package "fish"))
%base-packages))
(services
(append (list (service openssh-service-type)
(service tor-service-type)
(service docker-service-type)
(service mcron-service-type)
;;(service gnome-desktop-service-type)
(set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)
(extra-config
'("Section \"Device\"
Identifier \"AMD\"
Driver \"amdgpu\"
Option \"SWcursor\" \"on\"
EndSection")))))
(modify-services %desktop-services
(gdm-service-type config =>
(gdm-configuration
(wayland? #f)
(auto-suspend? #f)
(debug? #f))))))
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))
(keyboard-layout keyboard-layout)))
(swap-devices (list (swap-space
(target (uuid
"5154f36a-9be4-47b9-ae77-089fc234c98d")))))
(file-systems (cons* (file-system
(mount-point "/boot/efi")
(device (uuid "3848-FEE3"
'fat32))
(type "vfat"))
(file-system
(mount-point "/")
(device (uuid
"bb69c1c2-2301-484a-bdef-cad5b0eec09e"
'ext4))
(type "ext4")) %base-file-systems)))