aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/examples/plasma.tmpl
blob: c3850ffe3778a4d943cd698de4577ec5034d0c64 (about) (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
;; 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:
='/guix/commit/gnu/packages/xfce.scm?id=17db97c9acc4098c2638707cee69d82401af13c2'>gnu: libxfce4util: Update to 4.18.2....* gnu/packages/xfce.scm (libxfce4util): Update to 4.18.2. Change-Id: Idbc7bdef940ddc6feff4b60832326ebe779192ba 宋文武 2024-08-31gnu: xfce: Add 'bash' input for 'wrap-program'....It is required for cross-compilation. * gnu/packages/xfce.scm (catfish)[inputs]: Add 'bash-minimal'. (mousepad)[inputs]: Likewise. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I2d3294f0141d20061faf62b06c11f1c78df05c18 Maxime Devos 2024-04-29gnu: thunar: Use glib-or-gtk-build-system....This wraps 'thunar' with GIO_EXTRA_MODULES to enable support for "Trash" and remote file systems via GVFS. Fixes <https://issues.guix.gnu.org/55781> and <https://issues.guix.gnu.org/40885>. * gnu/packages/xfce.scm (thunar)[build-system]: Switch to glib-or-gtk-build-system. Change-Id: Ifa4bc931272380e7c98dea40edb683da523bbaea 宋文武 2024-03-31gnu: xfce: Add support for volume keyboard buttons....* gnu/packages/xfce.scm (xfce) [inputs]: Add xfce4-volumed-pulse. Change-Id: Iac0f76e6aa43d3687ac6c1a25769859e72f840c7 Maxim Cournoyer