summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1.nix
diff options
context:
space:
mode:
authorVictor Fuentes <vmfuentes64@gmail.com>2022-12-17 18:00:58 -0500
committerVictor Fuentes <vmfuentes64@gmail.com>2023-01-14 16:19:06 -0500
commitd3528cdc3dbe82a0551707fe869aec02bba72956 (patch)
treea7d859d287043b45ccf110cb8eb79a30749d01e3 /nixos/modules/system/boot/stage-1.nix
parentc9c4aea7ab0d137c62e09300d874be8a9a6820fc (diff)
downloadnixpkgs-d3528cdc3dbe82a0551707fe869aec02bba72956.tar
nixpkgs-d3528cdc3dbe82a0551707fe869aec02bba72956.tar.gz
nixpkgs-d3528cdc3dbe82a0551707fe869aec02bba72956.tar.bz2
nixpkgs-d3528cdc3dbe82a0551707fe869aec02bba72956.tar.lz
nixpkgs-d3528cdc3dbe82a0551707fe869aec02bba72956.tar.xz
nixpkgs-d3528cdc3dbe82a0551707fe869aec02bba72956.tar.zst
nixpkgs-d3528cdc3dbe82a0551707fe869aec02bba72956.zip
nixos/version: add config.system.nixos.distroName and config.system.nixos.distroId
Diffstat (limited to 'nixos/modules/system/boot/stage-1.nix')
-rw-r--r--nixos/modules/system/boot/stage-1.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index 95dcdfd7fbe..af26c156fd4 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -342,6 +342,8 @@ let
 
     inherit (config.boot) resumeDevice;
 
+    inherit (config.system.nixos) distroName;
+
     inherit (config.system.build) earlyMountScript;
 
     inherit (config.boot.initrd) checkJournalingFS verbose