forked from kalipso/infrastructure
fix my mistakes
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
{config, lib, ...}:
|
||||
{config, lib, inputs, ...}:
|
||||
let
|
||||
cfg = config.malobeo.disks;
|
||||
in
|
||||
{
|
||||
imports = [inputs.disko.nixosModules.disko];
|
||||
options.malobeo.disks = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
@@ -75,8 +76,8 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkif cfg.enable {
|
||||
networking.hostId = cfg.zfs.hostId;
|
||||
config = lib.mkIf cfg.enable {
|
||||
networking.hostId = cfg.hostId;
|
||||
disko.devices = {
|
||||
disk = lib.mkMerge [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user