From: <znavko@tutanota.com>
To: Help Guix <help-guix@gnu.org>
Subject: Re: Disable ugly pc-speaker sound in Slim auth failure
Date: Sat, 16 Mar 2019 11:52:04 +0100 (CET) [thread overview]
Message-ID: <La57Jrg--3-1@tutanota.com> (raw)
In-Reply-To: <L_uLw4o--3-1@tutanota.com>
[-- Attachment #1: Type: text/plain, Size: 5194 bytes --]
Hi! According to Guix Manual 6.2.11 Initial RAM Disk and Guile Manual 6.6.9.6 List Modification
I added this to config.scm:
(use modules
...
(gnu system linux-initrd)
(gnu packages linux))
(operating-system
...
(initrd
(base-initrd file-systems
#:linux-modules '(delq (pcspkr %base-initrd-modules))))
)
But the error occurs:
# guix system reconfigure /etc/config.scm
Backtrace:
12 (primitive-load "/root/.config/guix/current/bin/guix")
In guix/ui.scm:
1654:12 11 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 10 (catch _ _ #<procedure 7f2b8c6409b8 at guix/ui.scm:624…> …)
829:9 9 (catch _ _ #<procedure 7f2b8c6409d0 at guix/ui.scm:750…> …)
In guix/scripts/system.scm:
1292:8 8 (_)
In guix/status.scm:
810:4 7 (call-with-status-report _ _)
In guix/scripts/system.scm:
1153:6 6 (process-action _ _ _)
In guix/store.scm:
1737:24 5 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/system.scm:
1166:13 4 (_ _)
850:9 3 (perform-action reconfigure #<<operating-system> kerne…> …)
In gnu/system.scm:
950:26 2 (operating-system-bootcfg #<<operating-system> kernel:…> …)
967:26 1 (operating-system-boot-parameters #<<operating-system>…> …)
In unknown file:
0 (_ (#<<file-system> device: "/dev/sda1" mount-point: …>) …)
ERROR: Wrong type to apply: #<file-append #<<computed-file> name: "raw-initrd" gexp: #<gexp (begin (use-modules (gnu build linux-initrd)) (mkdir #<gexp-output out>) (call-with-output-file (string-append #<gexp-output out> "/references") (lambda (port) (simple-format port "~A\n" #<gexp-input #<package guile-static-stripped@2.2.4 gnu/packages/make-bootstrap.scm:579 3720180>:out>))) (build-initrd (string-append #<gexp-output out> "/initrd.cpio.gz") #:guile #<gexp-input #<package guile-static-stripped@2.2.4 gnu/packages/make-bootstrap.scm:579 3720180>:out> #:init #<gexp-input #<<program-file> name: "init" gexp: #<gexp 403c0c0> guile: #<package guile-static-stripped@2.2.4 gnu/packages/make-bootstrap.scm:579 3720180> path: ("/gnu/store/1vyq5wcgwzk0vgd9kc8qgp1f5x0b3pki-guix-module-union/share/guile/site/2.2" "/run/current-system/profile/share/guile/site/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/site/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/site" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile")>:out> #:references-graphs (quote ("closure")) #:gzip (string-append #<gexp-input #<package gzip@1.9 gnu/packages/compression.scm:198 3706c00>:out> "/bin/gzip"))) 403da50> guile: #f options: (#:references-graphs (("closure" #<<program-file> name: "init" gexp: #<gexp 403c0c0> guile: #<package guile-static-stripped@2.2.4 gnu/packages/make-bootstrap.scm:579 3720180> path: ("/gnu/store/1vyq5wcgwzk0vgd9kc8qgp1f5x0b3pki-guix-module-union/share/guile/site/2.2" "/run/current-system/profile/share/guile/site/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/site/2.2" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile/site" "/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/share/guile")>)))> "/initrd.cpio.gz">
Let me know what to correct??
Mar 14, 2019, 4:00 AM by znavko@tutanota.com:
> Hello! Please, what should I use in config.scm for disable pc-speaker sound while authorize in Slim and have an error in password?
>
>
> $ cat /etc/config.scm
> ...
> (services (cons*
> ...
> (modify-services %desktop-services
>
> (slim-service-type config =>
> (slim-configuration
> (inherit config)
> (startx
> (xorg-start-command
> #:configuration-file
> (xorg-configuration-file
> #:extra-config
> '(
> "Section \"InputClass\"
> Identifier \"touchpad\"
> Driver \"libinput\"
> MatchIsTouchpad \"on\"
> Option \"Tapping\" \"on\"
> EndSection"
> ))))))
> ) ;end of modify-services 2nd
> ...
> )
>
[-- Attachment #2: Type: text/html, Size: 10059 bytes --]
next prev parent reply other threads:[~2019-03-16 10:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-14 4:00 Disable ugly pc-speaker sound in Slim auth failure znavko
2019-03-16 10:52 ` znavko [this message]
[not found] ` <La57Jrg--3-1@tutanota.com-La586Hw----1>
2019-03-16 13:17 ` znavko
2019-03-16 16:00 ` Tobias Geerinckx-Rice
2019-03-16 16:42 ` znavko
2019-03-16 16:46 ` znavko
[not found] ` <La6OLkW--3-1@tutanota.com-La6OQsv--3-1>
2019-03-17 7:31 ` znavko
2019-03-17 8:10 ` swedebugia
2019-03-17 12:02 ` Tobias Geerinckx-Rice
2019-03-17 12:07 ` Tobias Geerinckx-Rice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=La57Jrg--3-1@tutanota.com \
--to=znavko@tutanota.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).