mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-15 19:23:01 +03:00
c507b39099
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com> Co-authored-by: Edward Amsden <edward@blackriversoft.com>
22 lines
494 B
Nix
22 lines
494 B
Nix
{ pkgs, lib, config, ... }:
|
|
|
|
let
|
|
dummy = pkgs.runCommandNoCC "dummy" {} "touch $out";
|
|
in
|
|
{
|
|
disabledModules = [
|
|
"tasks/encrypted-devices.nix"
|
|
"tasks/filesystems/zfs.nix"
|
|
];
|
|
|
|
config = {
|
|
# This isn't even used in our initrd...
|
|
boot.supportedFilesystems = lib.mkOverride 10 [ ];
|
|
boot.initrd.supportedFilesystems = lib.mkOverride 10 [];
|
|
|
|
# And disable the initrd outright!
|
|
boot.initrd.enable = false;
|
|
system.build.initialRamdiskSecretAppender = dummy;
|
|
};
|
|
}
|