operating-systems: buer: Use bash as system and root shells

impermanence
Luis Guilherme Coelho 2024-10-06 09:06:20 -03:00
parent 9650f15cc7
commit 856895b5f0
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
2 changed files with 5 additions and 6 deletions

View File

@ -6,6 +6,7 @@
#|GNU packages|# #|GNU packages|#
#|A|# #:use-module (gnu packages admin) #|A|# #:use-module (gnu packages admin)
#|B|# #:use-module (gnu packages base) #|B|# #:use-module (gnu packages base)
#|S|# #:use-module (gnu packages bash)
#|C|# #:use-module (gnu packages certs) #|C|# #:use-module (gnu packages certs)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#|G|# #:use-module (gnu packages gawk) #|G|# #:use-module (gnu packages gawk)
@ -16,7 +17,6 @@
#|M|# #:use-module (gnu packages man) #|M|# #:use-module (gnu packages man)
#|P|# #:use-module (gnu packages package-management) #|P|# #:use-module (gnu packages package-management)
#:use-module (gnu packages pciutils) #:use-module (gnu packages pciutils)
#|S|# #:use-module (gnu packages shells)
#|T|# #:use-module (gnu packages texinfo) #|T|# #:use-module (gnu packages texinfo)
#|V|# #:use-module (gnu packages vpn) #|V|# #:use-module (gnu packages vpn)
@ -60,7 +60,6 @@
#|Radix packages|# #|Radix packages|#
#|A|# #:use-module (radix packages admin) #|A|# #:use-module (radix packages admin)
#|L|# #:use-module (radix packages linux) #|L|# #:use-module (radix packages linux)
#|S|# #:use-module (radix packages shells)
#|T|# #:use-module (radix packages text-editors) #|T|# #:use-module (radix packages text-editors)
#|Radix services|# #|Radix services|#
@ -147,6 +146,7 @@
(packages (packages
(list #|admin |# btop inetutils isc-dhcp shadow zzz (list #|admin |# btop inetutils isc-dhcp shadow zzz
#|base |# coreutils diffutils findutils grep patch sed tar which #|base |# coreutils diffutils findutils grep patch sed tar which
#|bash |# bash bash-completion
#|certs |# nss-certs #|certs |# nss-certs
#|compression |# gzip xz zstd #|compression |# gzip xz zstd
#|gawk |# gawk #|gawk |# gawk
@ -156,7 +156,6 @@
util-linux util-linux
#|man |# man-db man-pages #|man |# man-db man-pages
#|pciutils |# pciutils #|pciutils |# pciutils
#|shells |# dash-next
#|texinfo |# info-reader #|texinfo |# info-reader
#|text-editors|# kakoune #|text-editors|# kakoune
#|vpn |# wireguard-tools)) #|vpn |# wireguard-tools))
@ -309,7 +308,7 @@
#|Special file services|# #|Special file services|#
(service special-files-service-type (service special-files-service-type
`(("/bin/sh" ,(file-append dash-next "/bin/dash")) `(("/bin/sh" ,(file-append bash "/bin/bash"))
("/usr/bin/env" ,(file-append coreutils "/bin/env")))) ("/usr/bin/env" ,(file-append coreutils "/bin/env"))))
#|Sysctl services|# #|Sysctl services|#

View File

@ -1,7 +1,7 @@
(define-module (buer users) (define-module (buer users)
#:use-module (buer secrets) #:use-module (buer secrets)
#:use-module (gnu packages bash)
#:use-module (gnu packages shells) #:use-module (gnu packages shells)
#:use-module (radix packages shells)
#:use-module (gnu system accounts) #:use-module (gnu system accounts)
#:use-module (guix gexp) #:use-module (guix gexp)
@ -24,4 +24,4 @@
(home-directory "/root") (home-directory "/root")
(uid 0) (uid 0)
(group "root") (group "root")
(shell (file-append dash-next "/bin/dash")))) (shell (file-append bash "/bin/bash"))))