adding a base system file and properly linking it to syl and kaladin
This commit is contained in:
parent
d6a539885e
commit
e432241a74
4 changed files with 285 additions and 567 deletions
|
@ -7,6 +7,7 @@
|
|||
;;
|
||||
|
||||
(define-module (base)
|
||||
#:use-module (srfi srfi-1)
|
||||
#:use-module (gnu)
|
||||
#:use-module (gnu services)
|
||||
#:use-module (gnu services shepherd)
|
||||
|
@ -35,7 +36,7 @@ root ALL=(ALL) ALL
|
|||
YOUR-USER-NAME ALL=(ALL) NOPASSWD:/run/current-system/profile/bin/chvt,/run/current-system/profile/bin/loginctl"))
|
||||
|
||||
(define-public base-system-packages
|
||||
(packages (append (map specification->package
|
||||
(append (map specification->package
|
||||
'( "nss-certs"
|
||||
"sway"
|
||||
"dbus-glib"
|
||||
|
@ -52,10 +53,9 @@ YOUR-USER-NAME ALL=(ALL) NOPASSWD:/run/current-system/profile/bin/chvt,/run/cur
|
|||
"libvdpau"
|
||||
"libvdpau-va-gl"
|
||||
"emacs-next-pgtk"))
|
||||
%base-packages)))
|
||||
%base-packages))
|
||||
|
||||
(define-public base-system-services
|
||||
(services
|
||||
(append
|
||||
(list ;; To configure OpenSSH, pass an 'openssh-configuration'
|
||||
;; record as a second argument to 'service' below.
|
||||
|
@ -85,7 +85,7 @@ YOUR-USER-NAME ALL=(ALL) NOPASSWD:/run/current-system/profile/bin/chvt,/run/cur
|
|||
(using-setuid? #f)))
|
||||
|
||||
(set-xorg-configuration
|
||||
(xorg-configuration (keyboard-layout keyboard-layout)))
|
||||
(xorg-configuration (keyboard-layout (keyboard-layout "us"))))
|
||||
|
||||
(service console-font-service-type
|
||||
(map (lambda (tty)
|
||||
|
@ -162,7 +162,7 @@ YOUR-USER-NAME ALL=(ALL) NOPASSWD:/run/current-system/profile/bin/chvt,/run/cur
|
|||
(delete mingetty-service-type)
|
||||
(delete mingetty-service-type)
|
||||
(delete mingetty-service-type)
|
||||
(delete mingetty-service-type))) ))
|
||||
(delete mingetty-service-type))))
|
||||
|
||||
(define-public base-operating-system
|
||||
(operating-system
|
||||
|
@ -175,7 +175,7 @@ YOUR-USER-NAME ALL=(ALL) NOPASSWD:/run/current-system/profile/bin/chvt,/run/cur
|
|||
(host-name "narnia")
|
||||
|
||||
;; Additional kernel modules
|
||||
(kernel-loadable-modules (list v4l2loopback-linux-module))
|
||||
;; (kernel-loadable-modules (list v4l2loopback-linux-module))
|
||||
|
||||
;; The list of user accounts ('root' is implicit).
|
||||
(users (cons* (user-account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue