overlay systemd to minimal
This commit is contained in:
parent
9d0135751c
commit
7bb26d1e6e
42
flake.nix
42
flake.nix
|
@ -9,6 +9,48 @@
|
|||
crossSystem = "aarch64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
|
||||
overlays = [
|
||||
(self: super: {
|
||||
systemd = super.systemd.override {
|
||||
pname = "systemd-minimal";
|
||||
withAcl = false;
|
||||
withAnalyze = false;
|
||||
withApparmor = false;
|
||||
withAudit = false;
|
||||
withCompression = false;
|
||||
withCoredump = false;
|
||||
withCryptsetup = false;
|
||||
withDocumentation = false;
|
||||
withEfi = false;
|
||||
withFido2 = false;
|
||||
withHostnamed = false;
|
||||
withHomed = false;
|
||||
withHwdb = false;
|
||||
withImportd = false;
|
||||
withLibBPF = false;
|
||||
withLibidn2 = false;
|
||||
withLocaled = false;
|
||||
withLogind = false;
|
||||
withMachined = false;
|
||||
withNetworkd = false;
|
||||
withNss = false;
|
||||
withOomd = false;
|
||||
withPCRE2 = false;
|
||||
withPam = false;
|
||||
withPolkit = false;
|
||||
withPortabled = false;
|
||||
withRemote = false;
|
||||
withResolved = false;
|
||||
withShellCompletions = false;
|
||||
withTimedated = false;
|
||||
withTimesyncd = false;
|
||||
withTpm2Tss = false;
|
||||
withUserDb = false;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
crossSystem = {
|
||||
gcc.cpu = "cortex-a53";
|
||||
config = "aarch64-unknown-linux-gnu";
|
||||
|
|
|
@ -51,4 +51,8 @@
|
|||
doc.enable = false;
|
||||
info.enable = false;
|
||||
};
|
||||
|
||||
services.timesyncd.enable = false;
|
||||
systemd.oomd.enable = false;
|
||||
systemd.coredump.enable = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue