refactor: use nixpkgs naming conventions

This commit is contained in:
Olof Sandell authored and Jörg Thalheim committed 2023-09-13 09:46:20 +02:00
1 parent c49c1210d6
commit e158702cb8
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ Upon activation, this module performs the following:
1. Add this into your `configuration.nix`:
```
appleT2Config.enableAppleSetOsLoader = true;
hardware.apple-t2.enableAppleSetOsLoader = true;
```
2. **Rebuild your system**:
+2 -2
View File
@@ -37,12 +37,12 @@ let
'';
};
t2Cfg = config.appleT2Config;
t2Cfg = config.hardware.apple-t2;
in
{
options = {
appleT2Config.enableAppleSetOsLoader = lib.mkOption {
hardware.apple-t2.enableAppleSetOsLoader = lib.mkOption {
default = false;
type = lib.types.bool;
description = "Whether to enable the appleSetOsLoader activation script.";