Add sybil

Julien LepillerTue Apr 09 22:08:18+0200 2019

ad21367

Add sybil

modules/config/os.scm

134134
	     (operating-system-users system)))
135135
      (groups (cons (user-group (system? #t) (name "adbusers"))
136136
		    %base-groups))
137+
      (hosts-file
138+
        (plain-file "hosts"
139+
          (string-append "127.0.0.1 " host-name ".lepiller.eu localhost " host-name "\n"
140+
                         "::1       " host-name ".lepiller.eu localhost " host-name "\n"
141+
                         %facebook-host-aliases)))
137142
      (packages (cons* xlockmore wpa-supplicant gvfs openbox xfce4-terminal
138143
		       (operating-system-packages system))))))

systems/sybil.scm unknown status 1

1+
;;; Tyreunom's system administration and configuration tools.
2+
;;;
3+
;;; Copyright ?? 2019 Julien Lepiller <julien@lepiller.eu>
4+
;;;
5+
;;; This program is free software: you can redistribute it and/or modify
6+
;;; it under the terms of the GNU General Public License as published by
7+
;;; the Free Software Foundation, either version 3 of the License, or
8+
;;; (at your option) any later version.
9+
;;;
10+
;;; This program is distributed in the hope that it will be useful,
11+
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13+
;;; GNU General Public License for more details.
14+
;;;
15+
;;; You should have received a copy of the GNU General Public License
16+
;;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
17+
18+
(use-modules (gnu))
19+
(use-modules (gnu system))
20+
(use-modules (gnu bootloader) (gnu bootloader grub))
21+
(use-modules (gnu services virtualization))
22+
(use-modules (config os))
23+
24+
(let ((system (tyreunom-desktop-os "sybil")))
25+
  (operating-system
26+
    (inherit system)
27+
    (bootloader
28+
      (bootloader-configuration
29+
        (target "/boot/efi")
30+
        (bootloader grub-efi-bootloader)))
31+
    (file-systems
32+
      (cons* (file-system
33+
               (device (file-system-label "guix"))
34+
               (mount-point "/")
35+
               (type "ext4"))
36+
             (file-system
37+
               (device (uuid "88ED-35AA" 'fat))
38+
               (mount-point "/boot/efi")
39+
               (type "vfat"))
40+
             %base-file-systems))
41+
    (services desktop-services)))