Tidak Ada Deskripsi

Akram Abdeslem a6fd80fc9e linux : downgrade to 5.2.8 5 tahun lalu
nongnu a6fd80fc9e linux : downgrade to 5.2.8 5 tahun lalu
nonguix e7f6facb14 nongnu: Add unredistributable-url-fetch. 5 tahun lalu
.dir-locals.el 21a8b9a998 Add .dir-locals.el with Emacs settings. 5 tahun lalu
.gitignore 020fca0664 Add .gitignore 5 tahun lalu
COPYING 56990fb526 Initial commit with non-free Linux kernel. 5 tahun lalu
README.org 4580004ef8 README.org: Warn against the dangers of using nonfree software. 5 tahun lalu

README.org

Nonguix is a software repository for the GNU Guix package manager, which packages some software which cannot be included in the official distribution for ethical or policy-related reasons.

Please do NOT promote this repository on any official Guix communication channels, such as their mailing lists or IRC channel, even in response to support requests! This is to show respect for the Guix project's strict policy against recommending nonfree software, and to avoid any unnecessary hostility.

Before using this channel, you should understand the implications of using nonfree software. Read What is free software? for more information.

(Check out the Guix Gaming Channels if you're interested in nonfree games too!)

Warning

This channel does not endorse any non-free application. We believe it is non-ethical, harmful to software development and restricts the users freedom. See the GNU philosophy for a more thorough discussion.

Those packages are provided as a last resort, should none of the official Guix packages work for you.

You should understand the implication of using non-free software. Some of those implications include:

  • Endorsement of non-free products and the perpetration of a culture of
  • restriction on liberties.
  • Non-free software cannot (or hardly) be audited: it can potentially spy on
  • you, destroy or steal your data.

As a minimal security measure, it's heavily recommended to run any non-free software inside a container.

Installation

Nonguix can be installed as a Guix channel. To do so, add it to =~/.config/guix/channels.scm=:


  (cons* (channel
          (name 'nonguix)
          (url "https://gitlab.com/nonguix/nonguix"))
         %default-channels)

Using Nonfree Firmware and Drivers

To use Guix System with the standard Linux kernel and nonfree firmware, edit the kernel and firmware fields of the operating-system definition in =config.scm=:


  ;; Import nonfree linux module.
  (use-modules (nongnu packages linux))

  (operating-system
    (kernel linux)
    (firmware (list linux-firmware))
    ...
    )

If you only need firmware for a specific piece of hardware, you may be able to save disk space by using a smaller firmware package instead:


  (firmware (cons* iwlwifi-firmware
                   %base-firmware))

Then of course, run sudo guix system reconfigure /etc/config.scm to apply your configuration.

Installation image

For some hardware the official Guix installation image won't do (e.g. unsupported wifi). You can generate an installation image running the nonfree Linux kernel and nonfree firmware with the following command:

guix system disk-image /path/to/this/channel/nongnu/system/install.scm

Broadcom Wireless

Some Broadcom wireless hardware requires a proprietary kernel module in addition to firmware. To use such hardware you will also need to add a service to load that module on boot, and blacklist conflicting kernel modules:


  (use-modules (nongnu packages linux)
               (nongnu services kernel-modules))

  (operating-system
    (kernel linux)
    ;; Blacklist conflicting kernel modules.
    (kernel-arguments '("modprobe.blacklist=b43,b43legacy,ssb,bcm43xx,brcm80211,brcmfmac,brcmsmac,bcma"))
    (firmware (cons* broadcom-bt-firmware
                     %base-firmware))
    ...
    (services
     (cons* (load-broadcom-sta-service)
            ...
            %desktop-services)))

Contributing

Contributions are welcome! If there's a package you would like to add, just fork the repository and create a Merge Request when your package is ready. Keep in mind:

  • Nonguix follows the same
  • [[https://www.gnu.org/software/guix/manual/en/html_node/Coding-Style.html][coding style]] as GNU Guix. If you don't use Emacs, you should make use of the indent script from the GNU Guix repository (=./etc/indent-code.el=).
  • Commit messages should follow the same
  • [[https://www.gnu.org/prep/standards/html_node/Change-Logs.html][conventions]] set by GNU Guix.
  • Although licensing restrictions are relaxed, packages should still have
  • accurate license metadata.
  • If a package could be added to upstream GNU Guix with a reasonable amount of
  • effort, then it probably doesn't belong in Nonguix. This isn't a dumping ground for subpar packages, but sometimes we may accept free software packages which are currently too cumbersome to properly build from source.
  • If your package is a game, you should submit it to the
  • [[https://gitlab.com/guix-gaming-channels][Guix Gaming Channels]] instead.

If you have a history of making quality contributions to GNU Guix or Nonguix and would like commit access, just ask! Nontrivial changes should still go through a simple Merge Request and code review process, but Nonguix needs more people involved to succeed as a community project.