-
Notifications
You must be signed in to change notification settings - Fork 0
/
compat.nix
27 lines (24 loc) · 938 Bytes
/
compat.nix
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
{ config, lib, utils, pkgs, ... }: {
# Some "fake" options for modules that dont exist to make other modules happy
# some of these might be dinosaurs from past experiments
options = {
services.nscd.enable = lib.mkOption { default = false; };
systemd.services = lib.mkOption { };
systemd.tmpfiles = lib.mkOption { };
security.pam = lib.mkOption { };
security.acme = lib.mkOption { };
security.wrappers = lib.mkOption { };
system.activationScripts = lib.mkOption { };
system.build = lib.mkOption { };
# time.timeZone must be null for Apache-PHP to shut up
time = lib.mkOption { };
# another thing used by apache
services.logrotate = lib.mkOption { };
};
config = {
# This is needed to make the patched users-groups.nix able to pregenerate /etc/passwd
users.mutableUsers = false;
users.enforceStaticIds = true;
time.timeZone = null; # Apache-PHP wants this
};
}