spl module params in boot.spl.*
This commit is contained in:
@@ -10,7 +10,7 @@ with pkgs.lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
cfgSpl = config.environment.spl;
|
cfgSpl = config.boot.spl;
|
||||||
inInitrd = any (fs: fs == "zfs") config.boot.initrd.supportedFilesystems;
|
inInitrd = any (fs: fs == "zfs") config.boot.initrd.supportedFilesystems;
|
||||||
inSystem = any (fs: fs == "zfs") config.boot.supportedFilesystems;
|
inSystem = any (fs: fs == "zfs") config.boot.supportedFilesystems;
|
||||||
kernel = config.boot.kernelPackages;
|
kernel = config.boot.kernelPackages;
|
||||||
@@ -22,7 +22,7 @@ in
|
|||||||
###### interface
|
###### interface
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
environment.spl.hostid = mkOption {
|
boot.spl.hostid = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
example = "0xdeadbeef";
|
example = "0xdeadbeef";
|
||||||
description = ''
|
description = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user