Try new way of importing module

This commit is contained in:
Mike Heier 2023-08-12 00:17:51 -04:00
parent 551df1b66f
commit e8c4dbdb8b

View File

@ -41,7 +41,10 @@
nativeBuildInputs = [ cargo clang ];
};
nixosModules.${productName} = import [ ./module.nix ];
nixosModules.default = nixosModules.${productName};
# nixosModules.${productName} = import [ ./module.nix ];
# nixosModules.default = nixosModules.${productName};
nixosModules.default = { config, pkgs, lib, ... }: {
imports = [ ./module.nix ];
};
});
}