[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/10: system: Export default nanorc.
From: |
guix-commits |
Subject: |
05/10: system: Export default nanorc. |
Date: |
Wed, 17 Jan 2024 04:19:24 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 33136e0426f5722dea63e18a14e7f54cda530132
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 31 10:29:41 2023 +0200
system: Export default nanorc.
* gnu/system/shadow.scm (%default-nanorc): Extract from
default-skeletons, export.
(default-skeletons): Use %default-nanorc.
Change-Id: I0d07b13ed4894b1152a08b96d9ef8527dde073ce
---
gnu/system/shadow.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index e1dd31262a..a8bc2d9567 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -68,6 +68,7 @@
%default-zprofile
%default-xdefaults
%default-gdbinit
+ %default-nanorc
default-skeletons
skeleton-directory
%base-groups
@@ -211,6 +212,11 @@ end
# pretty-printers of libstdc++.
set auto-load safe-path /gnu/store/*/lib\n"))
+(define %default-nanorc
+ (plain-file "nanorc"
+ "# Include all the syntax highlighting modules.
+include /run/current-system/profile/share/nano/*.nanorc\n"))
+
(define (default-skeletons)
"Return the default skeleton files for /etc/skel. These files are copied by
'useradd' in the home directory of newly created user accounts."
@@ -226,9 +232,7 @@ set auto-load safe-path /gnu/store/*/lib\n"))
;; after ~/.zshrc. To avoid interfering with any customizations a user
;; may have made in their ~/.zshrc, put this in .zprofile, not .zlogin.
(".zprofile" ,zprofile)
- (".nanorc" ,(plain-file "nanorc" "\
-# Include all the syntax highlighting modules.
-include /run/current-system/profile/share/nano/*.nanorc\n"))
+ (".nanorc" ,%default-nanorc)
(".Xdefaults" ,xdefaults)
(".guile" ,(plain-file "dot-guile"
"(cond ((false-if-exception (resolve-interface
'(ice-9 readline)))
- branch master updated (2f3d6ff968 -> 299ce524c9), guix-commits, 2024/01/17
- 01/10: system: Export default bash-profile., guix-commits, 2024/01/17
- 02/10: system: Export default zprofile., guix-commits, 2024/01/17
- 03/10: system: Export default xdefaults., guix-commits, 2024/01/17
- 04/10: system: Export default gdbinit., guix-commits, 2024/01/17
- 05/10: system: Export default nanorc.,
guix-commits <=
- 06/10: system: Export default guile config., guix-commits, 2024/01/17
- 07/10: system: Add default guix-home-config., guix-commits, 2024/01/17
- 08/10: system: default-zprofile: Sync with home zprofile., guix-commits, 2024/01/17
- 10/10: home: fontutils: Don't install fontconfig., guix-commits, 2024/01/17
- 09/10: home: services: zsh: Use unified zprofile., guix-commits, 2024/01/17