···2424 # most likely fails as GRUB will probably refuse to install.
2525 partitionTableType ? "legacy"
26262727- # Whether to invoke switch-to-configuration boot during image creation
2828-, installBootLoader ? true
2929-3027, # The root file system type.
3128 fsType ? "ext4"
3229
+1-1
nixos/lib/make-iso9660-image.nix
···11-{ stdenv, perl, closureInfo, xorriso, syslinux
11+{ stdenv, closureInfo, xorriso, syslinux
2233, # The file name of the resulting ISO image.
44 isoName ? "cd.iso"
···11# This module defines a small NixOS installation CD. It does not
22# contain any graphical stuff.
3344-{ config, lib, pkgs, ... }:
44+{ ... }:
5566{
77 imports =
+1-1
nixos/modules/installer/netboot/netboot-base.nix
···11# This module contains the basic configuration for building netboot
22# images
3344-{ config, lib, pkgs, ... }:
44+{ lib, ... }:
5566with lib;
77
···11# This module defines a small netboot environment.
2233-{ config, lib, ... }:
33+{ ... }:
4455{
66 imports =
+1-1
nixos/modules/installer/scan/detected.nix
···11# List all devices which are detected by nixos-generate-config.
22# Common devices are enabled by default.
33-{ config, lib, pkgs, ... }:
33+{ lib, ... }:
4455with lib;
66
···99# Systemd can also change ownership of service directories using the
1010# RuntimeDirectory/StateDirectory options.
11111212-{ config, pkgs, lib, ... }:
1212+{ lib, ... }:
13131414{
1515 options = {
···11# This module allows you to export something from configuration
22# Use case: export kernel source expression for ease of configuring
3344-{ config, lib, ... }:
44+{ lib, ... }:
5566{
77 options = {
+1-1
nixos/modules/profiles/all-hardware.nix
···33# enabled in the initrd. Its primary use is in the NixOS installation
44# CDs.
5566-{ config, pkgs, ... }:
66+{ ... }:
7788{
99
+1-1
nixos/modules/profiles/base.nix
···11# This module defines the software packages included in the "minimal"
22# installation CD. It might be useful elsewhere.
3344-{ config, lib, pkgs, ... }:
44+{ lib, pkgs, ... }:
5566{
77 # Include some utilities that are useful for installing or repairing
···11# This module defines a NixOS configuration with the Plasma 5 desktop.
22# It's used by the graphical installation CD.
3344-{ config, pkgs, ... }:
44+{ pkgs, ... }:
5566{
77 services.xserver = {
+1-1
nixos/modules/profiles/hardened.nix
···11# A profile with most (vanilla) hardening options enabled by default,
22# potentially at the cost of features and performance.
3344-{ config, lib, pkgs, ... }:
44+{ lib, pkgs, ... }:
5566with lib;
77
···11# This module defines a small NixOS configuration. It does not
22# contain any graphical stuff.
3344-{ config, lib, pkgs, ... }:
44+{ config, lib, ... }:
5566with lib;
77
···2233# Most of the stuff here should probably be moved elsewhere sometime.
4455-{ config, lib, pkgs, ... }:
55+{ config, lib, ... }:
6677with lib;
88
+1-1
nixos/modules/programs/shell.nix
···11# This module defines a standard configuration for NixOS shells.
2233-{ config, lib, pkgs, ... }:
33+{ config, lib, ... }:
4455with lib;
66
···33# has additional options that affect the web server as a whole, like
44# the user/group to run under.)
5566-{ config, lib }:
66+{ lib, ... }:
7788with lib;
99{
···55# not, a X server (Xvfb) is started for that user. The Xvfb instances
66# persist across VNC sessions.
7788-{ config, lib, pkgs, ... }:
88+{ lib, pkgs, ... }:
991010with lib;
1111
···88 # A client running the recommended setup: DNSCrypt proxy as a forwarder
99 # for a caching DNS client.
1010 client =
1111- { config, pkgs, ... }:
1111+ { ... }:
1212 let localProxyPort = 43; in
1313 {
1414 security.apparmor.enable = true;
···1111 };
1212 nodes = {
1313 one =
1414- { config, pkgs, ... }: {
1414+ { pkgs, ... }: {
1515 # Not giving the machine at least 2060MB results in elasticsearch failing with the following error:
1616 #
1717 # OpenJDK 64-Bit Server VM warning: