unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: znavko--- via <help-guix@gnu.org>
To: "help-guix" <help-guix@gnu.org>
Subject: How to remove %base-firmware from firmware variable
Date: Fri, 22 Jan 2021 18:49:02 +0000	[thread overview]
Message-ID: <0ba7d28367da59983741aba370601d0a@disroot.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

Hello! I saw in Guix manual http://guix.gnu.org/manual/en/guix.html#index-firmware
that there is 'firmware' module in operating-system that is %base-firmware by default.
I want to try to remove 'firmware' module to look if my pc continues to work without it.

Can you please help me?
I use 'remove' procedure in 'services' but really cannot repeat it for 'operating-system'.
I just want to unset 'firmware' or make it totally empty.

[-- Attachment #2: config-static.conf --]
[-- Type: text/plain, Size: 3513 bytes --]

; -*- mode: Scheme; -*-
;;this is znavko's Dual Boot config
;; for lightweight xfce4 desktop
;; with the second OS in GRUB on the separate SSD /dev/sdb2 ( grub: (hd1,gpt2) )
;; without networkmanager but wpa_supplicant + static networking instead
;; with sudoers for openvpn and wpa_supplicant scripts in /usr/scripts
;; disabling pc-speaker

(use-modules (gnu) (gnu system nss)
	     (gnu system locale) ;;for locale-definition
	     (gnu services desktop)
	     (srfi srfi-1)	       ;;for remove function
	     (gnu services networking) ;;for remove ntp
	     (gnu services avahi)      ;;for remove avahi
	     (gnu services xorg)
	     (gnu packages admin) ;;for wpa_supplicant
	     )

(define %sudoers-specification
  (plain-file "sudoers" "root ALL=(ALL) ALL
%wheel ALL=(ALL) ALL
%wheel ALL=(root) NOPASSWD: /usr/scripts/*, /wpa"))

(use-service-modules desktop)
(use-package-modules certs gnome)


(operating-system 
		  (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
		  (bootloader (bootloader-configuration (bootloader grub-efi-bootloader)
							(target "/boot/efi")
							(menu-entries (list (menu-entry
									     (label "Devuan")
									     (linux "(hd1,gpt2)/vmlinuz")
									     (linux-arguments '("root=/dev/sdb2"))
									     (initrd "(hd1,gpt2)/initrd.img"))))))
		  
		  (file-systems (cons* 
					(file-system (device "/dev/sda1") (mount-point "/boot/efi") (type "vfat"))
					(file-system (device "/dev/sda2") (mount-point "/") (type "ext4")) 
					(file-system (device "/dev/sdc1") (mount-point "/home/bob/disk") (type "ext4"))
				%base-file-systems))

		  (swap-devices '("/dev/sda3"))

		  (users (cons* (user-account (name "bob") (group "users")
					      (supplementary-groups '("wheel" "netdev" "audio" "video"))
					      (home-directory "/home/bob"))
				(user-account (name "mom") (group "users")
					      (supplementary-groups '("wheel" "netdev" "audio" "video"))
					      (home-directory "/home/mom"))
				%base-user-accounts))

		  ;; This is where we specify system-wide packages.
		  (packages (cons* nss-certs ;for HTTPS access
				   gvfs	     ;for user mounts
				   wpa-supplicant
				   %base-packages))

		  (services (cons* 
			     ;; xfce4 desktop, dhcp-client, slim
			     (service xfce-desktop-service-type)
			     ;;(service dhcp-client-service-type)
			     (service slim-service-type)

			     (static-networking-service "wlp0s20f0u2" "192.168.1.71"
							      #:netmask "255.255.255.0"
							      #:gateway "192.168.1.1")
			     
			     (modify-services      
			      ;; removing unnecessary services
			      (remove (lambda (service)
					(member (service-kind service)
						(list ntp-service-type avahi-service-type 
						      bluetooth-service network-manager-service-type
						      gdm-service-type)))
				      %desktop-services) ;end of remove lambda services

			      ;; wpa_supplicant with static networking (above)
			      (wpa-supplicant-service-type config =>
							   (wpa-supplicant-configuration
							    (interface "wlp0s20f0u2")
							    (config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))
			      
			      )	;;end of modify-services
			     ))	;;end of services

		  ;; Allow resolution of '.local' host names with mDNS.
		  (name-service-switch %mdns-host-lookup-nss)

		  ;;blacklist ugly sound speaker, blacklist
		  (kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp,bluetooth"))

		  (sudoers-file %sudoers-specification)
		  
		  ) ;;end of operating-system


             reply	other threads:[~2021-01-22 18:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22 18:49 znavko--- via [this message]
2021-01-22 19:02 ` How to remove %base-firmware from firmware variable Tobias Geerinckx-Rice
2021-01-22 19:35 ` znavko

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=0ba7d28367da59983741aba370601d0a@disroot.org \
    --to=help-guix@gnu.org \
    --cc=znavko@disroot.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).