diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-07-06 19:54:57 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-07-06 20:00:10 +0200 |
commit | c83ad0598b51571b7d2f0b5343c6722f7394dde1 (patch) | |
tree | 7c90b4ea9673468d16e06911351dd762994cf70a /nixos/modules/config | |
parent | 07de9b62cce851d0dbb707c082957d00a202f47e (diff) | |
download | nixpkgs-c83ad0598b51571b7d2f0b5343c6722f7394dde1.tar nixpkgs-c83ad0598b51571b7d2f0b5343c6722f7394dde1.tar.gz nixpkgs-c83ad0598b51571b7d2f0b5343c6722f7394dde1.tar.bz2 nixpkgs-c83ad0598b51571b7d2f0b5343c6722f7394dde1.tar.lz nixpkgs-c83ad0598b51571b7d2f0b5343c6722f7394dde1.tar.xz nixpkgs-c83ad0598b51571b7d2f0b5343c6722f7394dde1.tar.zst nixpkgs-c83ad0598b51571b7d2f0b5343c6722f7394dde1.zip |
nixos/*nix*: Update module impl docs and link related modules
Something extra for the readers.
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/flakes.nix | 7 | ||||
-rw-r--r-- | nixos/modules/config/nix-channel.nix | 8 | ||||
-rw-r--r-- | nixos/modules/config/nix-remote-build.nix | 7 | ||||
-rw-r--r-- | nixos/modules/config/nix.nix | 8 |
4 files changed, 29 insertions, 1 deletions
diff --git a/nixos/modules/config/flakes.nix b/nixos/modules/config/flakes.nix index d0f5dc6e520..242d8d3b82b 100644 --- a/nixos/modules/config/flakes.nix +++ b/nixos/modules/config/flakes.nix @@ -1,3 +1,10 @@ +/* + Manages the flake registry. + + See also + - ./nix.nix + - ./nix-channel.nix + */ { config, lib, ... }: let inherit (lib) diff --git a/nixos/modules/config/nix-channel.nix b/nixos/modules/config/nix-channel.nix index c37c3f73c30..ba8360ffc09 100644 --- a/nixos/modules/config/nix-channel.nix +++ b/nixos/modules/config/nix-channel.nix @@ -1,3 +1,11 @@ +/* + Manages the things that are needed for a traditional nix-channel based + configuration to work. + + See also + - ./nix.nix + - ./flakes.nix + */ { config, lib, ... }: let inherit (lib) diff --git a/nixos/modules/config/nix-remote-build.nix b/nixos/modules/config/nix-remote-build.nix index c5ffcc8cf0a..6bc39f3c752 100644 --- a/nixos/modules/config/nix-remote-build.nix +++ b/nixos/modules/config/nix-remote-build.nix @@ -1,3 +1,10 @@ +/* + Manages the remote build configuration, /etc/nix/machines + + See also + - ./nix.nix + - nixos/modules/services/system/nix-daemon.nix + */ { config, lib, ... }: let diff --git a/nixos/modules/config/nix.nix b/nixos/modules/config/nix.nix index 8285db20faa..aa1a2c3c6a8 100644 --- a/nixos/modules/config/nix.nix +++ b/nixos/modules/config/nix.nix @@ -1,5 +1,11 @@ /* - Manages /etc/nix.conf, build machines and any nix-specific global config files. + Manages /etc/nix.conf. + + See also + - ./nix-channel.nix + - ./flakes.nix + - ./nix-remote-build.nix + - nixos/modules/services/system/nix-daemon.nix */ { config, lib, pkgs, ... }: |