1 { config, lib, pkgs, ... }:
8 description = lib.mdDoc ''
9 When enabled, GNU software is chosen by default whenever a there is
10 a choice between GNU and non-GNU software (e.g., GNU lsh
16 config = lib.mkIf config.gnu {
18 environment.systemPackages = with pkgs;
19 # TODO: Adjust `requiredPackages' from `system-path.nix'.
20 # TODO: Add Inetutils once it has the new `ifconfig'.
22 #fdisk # XXX: GNU fdisk currently fails to build and it's redundant
23 # with the `parted' command.
25 texinfo # for the stand-alone Info reader
27 ++ lib.optional (!stdenv.isAarch32) grub2;
30 # GNU GRUB, where available.
31 boot.loader.grub.enable = !pkgs.stdenv.isAarch32;
32 boot.loader.grub.version = 2;
35 services.openssh.enable = false;
36 services.lshd.enable = true;
37 programs.ssh.startAgent = false;
38 services.xserver.startGnuPGAgent = true;
41 # TODO: GNU Inetutils' inetd.