2020-04-10 04:40:11 +03:00
|
|
|
{ pkgs, lib, config, ... }:
|
2019-09-22 00:28:26 +03:00
|
|
|
|
2020-04-10 04:40:11 +03:00
|
|
|
let
|
|
|
|
dummy = pkgs.runCommandNoCC "dummy" {} "touch $out";
|
|
|
|
in
|
2019-09-22 00:28:26 +03:00
|
|
|
{
|
|
|
|
disabledModules = [
|
2020-11-11 15:01:40 +03:00
|
|
|
"tasks/encrypted-devices.nix"
|
|
|
|
"tasks/filesystems/zfs.nix"
|
2019-09-22 00:28:26 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
# This isn't even used in our initrd...
|
|
|
|
boot.supportedFilesystems = lib.mkOverride 10 [ ];
|
|
|
|
boot.initrd.supportedFilesystems = lib.mkOverride 10 [];
|
|
|
|
|
2020-04-10 04:40:11 +03:00
|
|
|
# And disable the initrd outright!
|
|
|
|
boot.initrd.enable = false;
|
|
|
|
system.build.initialRamdiskSecretAppender = dummy;
|
2019-09-22 00:28:26 +03:00
|
|
|
};
|
|
|
|
}
|