blob: e7836cb309fa4063b999c0603625871b45518a31 (
plain)
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
|
{ config, lib, pkgs, ... }:
with lib;
{
options = let
mkFake = {type, default}: mkOption {
type = type;
default = default;
description = "The module this option was part of was removed as part of Turris trim";
};
mkFakeList = type: mkFake {
type = types.listOf type;
default = [];
};
mkFakeDisable = mkOption {
type = types.bool;
default = false;
description = "The in default disabled option that was removed as part of Turris trim";
};
in {
services.xserver.enable = mkFakeDisable;
services.xserver.displayManager.hiddenUsers = mkFakeList types.str;
services.xserver.startGnuPGAgent = mkFakeDisable;
};
config = {
};
}
|