summaryrefslogtreecommitdiff
path: root/gnu/system/examples
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-04-18 09:33:19 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-04-18 10:43:06 -0400
commit65e8472a4b6fc6f66871ba0dad518b7d4c63595e (patch)
tree120893f7655172dda27e9be19209b018df6f756c /gnu/system/examples
parenta69e5e5e47b70e3fe14040142544147fbd9239a1 (diff)
system: Remove nss-certs from OS templates, adjust doc.
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
Diffstat (limited to 'gnu/system/examples')
-rw-r--r--gnu/system/examples/bare-bones.tmpl5
-rw-r--r--gnu/system/examples/desktop.tmpl4
-rw-r--r--gnu/system/examples/lightweight-desktop.tmpl6
-rw-r--r--gnu/system/examples/plasma.tmpl5
-rw-r--r--gnu/system/examples/raspberry-pi-64-nfs-root.tmpl6
-rw-r--r--gnu/system/examples/raspberry-pi-64.tmpl6
-rw-r--r--gnu/system/examples/vm-image.tmpl4
7 files changed, 11 insertions, 25 deletions
diff --git a/gnu/system/examples/bare-bones.tmpl b/gnu/system/examples/bare-bones.tmpl
index dc6aff5273c..7b6a4b09b05 100644
--- a/gnu/system/examples/bare-bones.tmpl
+++ b/gnu/system/examples/bare-bones.tmpl
@@ -4,9 +4,6 @@
4 4
5(use-modules (gnu)) 5(use-modules (gnu))
6(use-service-modules networking ssh) 6(use-service-modules networking ssh)
7;; If you want to use HTTPS, you most likely want to include
8;; "certs" in the line below. Also read the comment about
9;; "nss-certs" later in this file.
10(use-package-modules screen ssh) 7(use-package-modules screen ssh)
11 8
12(operating-system 9(operating-system
@@ -46,8 +43,6 @@
46 %base-user-accounts)) 43 %base-user-accounts))
47 44
48 ;; Globally-installed packages. 45 ;; Globally-installed packages.
49 ;; Add "nss-certs" for Mozilla's approved CA certs. You would
50 ;; have to have included "certs" in use-package-modules above.
51 (packages (cons screen %base-packages)) 46 (packages (cons screen %base-packages))
52 47
53 ;; Add services to the baseline: a DHCP client and an SSH 48 ;; Add services to the baseline: a DHCP client and an SSH
diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl
index 10d0e54fa77..2d65f222947 100644
--- a/gnu/system/examples/desktop.tmpl
+++ b/gnu/system/examples/desktop.tmpl
@@ -5,7 +5,7 @@
5 5
6(use-modules (gnu) (gnu system nss) (guix utils)) 6(use-modules (gnu) (gnu system nss) (guix utils))
7(use-service-modules desktop sddm xorg) 7(use-service-modules desktop sddm xorg)
8(use-package-modules certs gnome) 8(use-package-modules gnome)
9 9
10(operating-system 10(operating-system
11 (host-name "antelope") 11 (host-name "antelope")
@@ -65,8 +65,6 @@
65 65
66 ;; This is where we specify system-wide packages. 66 ;; This is where we specify system-wide packages.
67 (packages (append (list 67 (packages (append (list
68 ;; for HTTPS access
69 nss-certs
70 ;; for user mounts 68 ;; for user mounts
71 gvfs) 69 gvfs)
72 %base-packages)) 70 %base-packages))
diff --git a/gnu/system/examples/lightweight-desktop.tmpl b/gnu/system/examples/lightweight-desktop.tmpl
index 4cb3c383113..c061284ba85 100644
--- a/gnu/system/examples/lightweight-desktop.tmpl
+++ b/gnu/system/examples/lightweight-desktop.tmpl
@@ -5,7 +5,7 @@
5 5
6(use-modules (gnu) (gnu system nss)) 6(use-modules (gnu) (gnu system nss))
7(use-service-modules desktop) 7(use-service-modules desktop)
8(use-package-modules bootloaders certs emacs emacs-xyz ratpoison suckless wm 8(use-package-modules bootloaders emacs emacs-xyz ratpoison suckless wm
9 xorg) 9 xorg)
10 10
11(operating-system 11(operating-system
@@ -47,9 +47,7 @@
47 ratpoison i3-wm i3status dmenu 47 ratpoison i3-wm i3status dmenu
48 emacs emacs-exwm emacs-desktop-environment 48 emacs emacs-exwm emacs-desktop-environment
49 ;; terminal emulator 49 ;; terminal emulator
50 xterm 50 xterm)
51 ;; for HTTPS access
52 nss-certs)
53 %base-packages)) 51 %base-packages))
54 52
55 ;; Use the "desktop" services, which include the X11 53 ;; Use the "desktop" services, which include the X11
diff --git a/gnu/system/examples/plasma.tmpl b/gnu/system/examples/plasma.tmpl
index 6395991125e..c3850ffe377 100644
--- a/gnu/system/examples/plasma.tmpl
+++ b/gnu/system/examples/plasma.tmpl
@@ -3,7 +3,7 @@
3 3
4(use-modules (gnu) (gnu system nss) (srfi srfi-1)) 4(use-modules (gnu) (gnu system nss) (srfi srfi-1))
5(use-service-modules desktop sddm xorg ssh) 5(use-service-modules desktop sddm xorg ssh)
6(use-package-modules certs gnome ssh admin fonts) 6(use-package-modules gnome ssh admin fonts)
7(use-package-modules qt xorg tmux linux) 7(use-package-modules qt xorg tmux linux)
8 8
9(operating-system 9(operating-system
@@ -32,8 +32,7 @@
32 %base-user-accounts)) 32 %base-user-accounts))
33 33
34 ;; This is where we specify system-wide packages. 34 ;; This is where we specify system-wide packages.
35 (packages (cons* nss-certs ;for HTTPS access 35 (packages (cons* neofetch
36 neofetch
37 htop 36 htop
38 tmux 37 tmux
39 xprop 38 xprop
diff --git a/gnu/system/examples/raspberry-pi-64-nfs-root.tmpl b/gnu/system/examples/raspberry-pi-64-nfs-root.tmpl
index 2203375270c..1baca024912 100644
--- a/gnu/system/examples/raspberry-pi-64-nfs-root.tmpl
+++ b/gnu/system/examples/raspberry-pi-64-nfs-root.tmpl
@@ -17,8 +17,7 @@
17 avahi 17 avahi
18 networking 18 networking
19 ssh) 19 ssh)
20(use-package-modules certs 20(use-package-modules linux
21 linux
22 raspberry-pi 21 raspberry-pi
23 ssh) 22 ssh)
24 23
@@ -56,8 +55,7 @@
56 (supplementary-groups '("wheel" "netdev" "audio" "video")) 55 (supplementary-groups '("wheel" "netdev" "audio" "video"))
57 (home-directory "/home/pi")) 56 (home-directory "/home/pi"))
58 %base-user-accounts)) 57 %base-user-accounts))
59 (packages (cons* nss-certs 58 (packages (cons* openssh
60 openssh
61 %base-packages)) 59 %base-packages))
62 (services (cons* (service avahi-service-type) 60 (services (cons* (service avahi-service-type)
63 (service dhcp-client-service-type) 61 (service dhcp-client-service-type)
diff --git a/gnu/system/examples/raspberry-pi-64.tmpl b/gnu/system/examples/raspberry-pi-64.tmpl
index 185d25c4124..414d8ac7a54 100644
--- a/gnu/system/examples/raspberry-pi-64.tmpl
+++ b/gnu/system/examples/raspberry-pi-64.tmpl
@@ -16,8 +16,7 @@
16 avahi 16 avahi
17 networking 17 networking
18 ssh) 18 ssh)
19(use-package-modules certs 19(use-package-modules linux
20 linux
21 raspberry-pi 20 raspberry-pi
22 ssh) 21 ssh)
23 22
@@ -60,8 +59,7 @@
60 (supplementary-groups '("wheel" "netdev" "audio" "video")) 59 (supplementary-groups '("wheel" "netdev" "audio" "video"))
61 (home-directory "/home/pi")) 60 (home-directory "/home/pi"))
62 %base-user-accounts)) 61 %base-user-accounts))
63 (packages (cons* nss-certs 62 (packages (cons* openssh
64 openssh
65 %base-packages)) 63 %base-packages))
66 (services (cons* (service avahi-service-type) 64 (services (cons* (service avahi-service-type)
67 (service dhcp-client-service-type) 65 (service dhcp-client-service-type)
diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-image.tmpl
index dc9a7542a57..589de493b13 100644
--- a/gnu/system/examples/vm-image.tmpl
+++ b/gnu/system/examples/vm-image.tmpl
@@ -7,7 +7,7 @@
7 7
8(use-modules (gnu) (guix) (srfi srfi-1)) 8(use-modules (gnu) (guix) (srfi srfi-1))
9(use-service-modules desktop mcron networking spice ssh xorg sddm) 9(use-service-modules desktop mcron networking spice ssh xorg sddm)
10(use-package-modules bootloaders certs fonts 10(use-package-modules bootloaders fonts
11 package-management xdisorg xorg) 11 package-management xdisorg xorg)
12 12
13(define vm-image-motd (plain-file "motd" " 13(define vm-image-motd (plain-file "motd" "
@@ -66,7 +66,7 @@ root ALL=(ALL) ALL
66%wheel ALL=NOPASSWD: ALL\n")) 66%wheel ALL=NOPASSWD: ALL\n"))
67 67
68 (packages 68 (packages
69 (append (list font-bitstream-vera nss-certs 69 (append (list font-bitstream-vera
70 ;; Auto-started script providing SPICE dynamic resizing for 70 ;; Auto-started script providing SPICE dynamic resizing for
71 ;; Xfce (see: 71 ;; Xfce (see:
72 ;; https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/142). 72 ;; https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/142).