summary refs log tree commit diff
path: root/host/uISO/overlays/systemd-overlay.nix
blob: 69a4d3f591a00b0d48be7e63d44ce36822ee4706 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
final: prev: {
  systemd = prev.systemd.override {
    #pname = "systemd-extra-minimal";
    withSelinux = false;
    withKexectools = false;
    withLibseccomp = false;
    withAcl = false;
    withAudit = false;
    withAnalyze = false;
    withApparmor = false;
    withBootloader = false;
    withCompression = false;
    withCoredump = false;
    withCryptsetup = false;
    withRepart = false;
    withDocumentation = false;
    withEfi = false;
    withFido2 = false;
    withHomed = false;
    withHostnamed = false;
    withHwdb = true; # required by nixos 
    withImportd = false;
    withIptables = false;
    withKmod = true; # required by nixos
    withLibBPF = false;
    withLibidn2 = false;
    withLocaled = false;
    withLogind = true; # required by nixos
    withMachined = false;
    withNetworkd = false;
    withNss = false;
    withOomd = false;
    withPam = true; # required by nixos
    withPCRE2 = false;
    withPolkit = false;
    withPortabled = false;
    withQrencode = false;
    withRemote = false;
    withResolved = false;
    withShellCompletions = false;
    withSysusers = false;
    withSysupdate = false;
    withTimedated = false;
    withTimesyncd = false;
    withTpm2Tss = false;
    withUkify = false;
    withUserDb = false;
    withUtmp = false;
    withVmspawn = false;
    withKernelInstall = false;
    withTests = false;
    withLogTrace = false;
  };

  systemd-minimal = final.systemd;

  openssh = prev.openssh.overrideAttrs (oldAttrs: {
    # Disable PAM support
    doCheck = false;
    doInstallCheck = false;
  });
}