diff --git a/flake.nix b/flake.nix index ad1dfae..f6ad5ec 100644 --- a/flake.nix +++ b/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"; diff --git a/triviOS/default.nix b/triviOS/default.nix index 8f95c2b..2f40e5f 100644 --- a/triviOS/default.nix +++ b/triviOS/default.nix @@ -51,4 +51,8 @@ doc.enable = false; info.enable = false; }; + + services.timesyncd.enable = false; + systemd.oomd.enable = false; + systemd.coredump.enable = false; }