mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
65e8472a4b
This is a follow-up to commit 86afaadb51 ("system: Add 'nss-certs' to %base-packages-networking.") * doc/guix-cookbook.texi (Running Guix on a Linode Server): Remove nss-certs from operating system's packages field. (Running Guix on a Kimsufi Server): Likewise. * doc/guix.texi (Using the Configuration System): Likewise. (X.509 Certificates): Adjust to mention nss-certs *is* part of %base-packages. * gnu/installer/services.scm (%system-services): Remove recommendation to install nss-certs. * gnu/system/examples/bare-bones.tmpl (host-name): Remove obsolete comments. * gnu/system/examples/desktop.tmpl (packages): Remove nss-certs. * gnu/system/examples/lightweight-desktop.tmpl (packages): Likewise. * gnu/system/examples/plasma.tmpl (packages): Likewise. * gnu/system/examples/raspberry-pi-64-nfs-root.tmpl (packages): Likewise. * gnu/system/examples/raspberry-pi-64.tmpl (packages): Likewise. * gnu/system/examples/vm-image.tmpl (packages): Likewise. * gnu/system/images/orangepi-r1-plus-lts-rk3328.scm (packages): Likewise. * gnu/system/images/pine64.scm (packages): Likewise. * gnu/system/install.scm (installation-os) [packages]: Likewise. Change-Id: If09123a69b987178bcb0aab61c4570c14fc1286f
71 lines
2.5 KiB
Cheetah
71 lines
2.5 KiB
Cheetah
;; This is an operating system configuration template
|
|
;; for a "desktop" setup with Plasma.
|
|
|
|
(use-modules (gnu) (gnu system nss) (srfi srfi-1))
|
|
(use-service-modules desktop sddm xorg ssh)
|
|
(use-package-modules gnome ssh admin fonts)
|
|
(use-package-modules qt xorg tmux linux)
|
|
|
|
(operating-system
|
|
(host-name "plasma")
|
|
(timezone "Asia/Shanghai")
|
|
(locale "en_US.utf8")
|
|
|
|
;; Assuming /dev/sdX is the target hard disk, and "my-root"
|
|
;; is the label of the target root file system.
|
|
(bootloader (bootloader-configuration
|
|
(bootloader grub-bootloader)
|
|
(targets (list "/dev/sdX"))))
|
|
|
|
(file-systems (cons (file-system
|
|
(device "my-root")
|
|
(mount-point "/")
|
|
(type "ext4"))
|
|
%base-file-systems))
|
|
|
|
(users (cons (user-account
|
|
(name "plasma")
|
|
(password (crypt "plasma" "$6$abc"))
|
|
(group "users")
|
|
(supplementary-groups '("wheel" "netdev"
|
|
"audio" "video")))
|
|
%base-user-accounts))
|
|
|
|
;; This is where we specify system-wide packages.
|
|
(packages (cons* neofetch
|
|
htop
|
|
tmux
|
|
xprop
|
|
strace
|
|
%base-packages))
|
|
|
|
(services (cons*
|
|
;; for debug
|
|
;; (simple-service
|
|
;; 'add-qt-debug-env
|
|
;; session-environment-service-type
|
|
;; '(("QT_MESSAGE_PATTERN"
|
|
;; . "[[%{time process} %{type}] %{appname}: %{category} %{function} - %{message}]")
|
|
;; ("QT_DEBUG_PLUGINS" . "1")
|
|
;; ("QML_IMPORT_TRACE" . "1")))
|
|
(service openssh-service-type
|
|
(openssh-configuration
|
|
(openssh openssh-sans-x)
|
|
(port-number 2222)))
|
|
(service plasma-desktop-service-type)
|
|
(service sddm-service-type
|
|
(sddm-configuration
|
|
(theme "breeze")))
|
|
|
|
;; Remove GDM if it's among %DESKTOP-SERVICES; on other
|
|
;; architectures, %DESKTOP-SERVICES contains SDDM instead.
|
|
(remove (lambda (service)
|
|
(memq (service-kind service)
|
|
(list gdm-service-type sddm-service-type)))
|
|
%desktop-services)))
|
|
;; Allow resolution of '.local' host names with mDNS.
|
|
(name-service-switch %mdns-host-lookup-nss))
|
|
|
|
;; Local Variables:
|
|
;; mode: scheme
|
|
;; End:
|