summaryrefslogtreecommitdiff
path: root/system-config.scm
blob: 4d62a84967c9f8eaf4d2bc51505c5ae4fbec22ee (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
93
94
95
(use-modules (gnu)
             (guix channels)
             (guix inferior)
             (srfi srfi-1))

(use-service-modules desktop
                     networking
                     ssh
                     virtualization
                     xorg)

(use-package-modules admin
                     certs
                     gnome
                     rsync
                     search
                     ncurses
                     version-control
                     vim)

;; Import nonfree linux module.
(use-modules (nongnu packages linux)
             (nongnu system linux-initrd))


(operating-system
  (locale "en_US.utf8")
  (timezone "America/New_York")
  (keyboard-layout (keyboard-layout "us"))
  (host-name "beef")
  (kernel
    (let*
      ((channels
         (list (channel
                 (name 'guix)
                 (url "https://git.savannah.gnu.org/git/guix.git")
                 (commit "3fb96020999cdc5f030bd86c72b9dafb7ed7e255"))
               (channel
                 (name 'nonguix)
                 (url "https://gitlab.com/nonguix/nonguix")
                 (commit "39e4b41e5f7277b8d58084cd7aff8edde71f6572"))))
       (inferior
         (inferior-for-channels channels)))
      (first (lookup-inferior-packages inferior "linux" "5.15.11"))))
  (initrd microcode-initrd)
  (firmware (list linux-firmware))
  (users (cons* (user-account
                  (name "robby")
                  (comment "Robby Zambito")
                  (group "users")
                  (home-directory "/home/robby")
                  (supplementary-groups
                    '("wheel" "netdev" "audio" "video")))
                %base-user-accounts))
  (packages
    (append
      (list git
            gvfs
            htop
            ncurses
            neovim
            nss-certs
            plocate
            rsync)
      %base-packages))
  (services
    (append
      (list (service openssh-service-type)
            (service tor-service-type)
            (service qemu-binfmt-service-type
                     (qemu-binfmt-configuration
                       (platforms (lookup-qemu-platforms "arm" "aarch64")))))
      (remove (lambda (service)
                (eq? (service-kind service) gdm-service-type))
              %desktop-services)))
  (name-service-switch %mdns-host-lookup-nss)
  (bootloader
    (bootloader-configuration
      (bootloader grub-bootloader)
      (targets '("/dev/sda"))
      (keyboard-layout keyboard-layout)))
  (swap-devices (list
                  (swap-space (target (uuid "5fe52356-c4c9-4ec1-bb2e-4c140a6cf873")))))
  (file-systems
    (cons* (file-system
             (mount-point "/boot/efi")
             (device (uuid "CD9A-4F7B" 'fat32))
             (type "vfat"))
           (file-system
             (mount-point "/")
             (device
               (uuid "20f41ca6-361c-41b7-b522-1a683c4cf8e4"
                     'ext4))
             (type "ext4"))
           %base-file-systems)))