1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-20 08:39:45 +01:00

refactor: use nixpkgs naming conventions

This commit is contained in:
Olof Sandell 2023-09-11 22:45:11 +02:00 committed by Jörg Thalheim
parent c49c1210d6
commit e158702cb8
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ Upon activation, this module performs the following:
1. Add this into your `configuration.nix`: 1. Add this into your `configuration.nix`:
``` ```
appleT2Config.enableAppleSetOsLoader = true; hardware.apple-t2.enableAppleSetOsLoader = true;
``` ```
2. **Rebuild your system**: 2. **Rebuild your system**:

View file

@ -37,12 +37,12 @@ let
''; '';
}; };
t2Cfg = config.appleT2Config; t2Cfg = config.hardware.apple-t2;
in in
{ {
options = { options = {
appleT2Config.enableAppleSetOsLoader = lib.mkOption { hardware.apple-t2.enableAppleSetOsLoader = lib.mkOption {
default = false; default = false;
type = lib.types.bool; type = lib.types.bool;
description = "Whether to enable the appleSetOsLoader activation script."; description = "Whether to enable the appleSetOsLoader activation script.";