wrapperManagerLib.systemd.submodules
A convenient set of module types for the systemd unit. Take note, all of the documented items here contain a list of modules and intended to be included as a submodule. You can use it like in the following code:
{ config, lib, wrapperManagerLib, ... }:
let
otherCustomModules = [ ];
in
{
options.custom-systemd-option.units = lib.mkOption {
type = with lib.types; attrsof (submodule (
wrapperManagerLib.systemd.submodules.units
++ [ otherCustomModules ];
));
};
}
Furthermore, it doesn’t set any of the global systemd options found in the
base module configuration (e.g., programs.systemd.enableCommonDependencies
,
programs.systemd.enableStatelessInstallation
).
wrapperManagerLib.systemd.submodules.units
List of modules associated for {option}`programs.systemd.$VARIANT.units`.
wrapperManagerLib.systemd.submodules.services
List of modules associated for {option}`programs.systemd.$VARIANT.services`.
wrapperManagerLib.systemd.submodules.services'
Convenience function around services
to make a list of modules with the
global wrapper-manager systemd-related options.
wrapperManagerLib.systemd.submodules.targets
List of modules associated for {option}`programs.systemd.$VARIANT.targets`.
wrapperManagerLib.systemd.submodules.targets'
Convenience function around targets
to make a list of modules with the
global wrapper-manager systemd-related options.
wrapperManagerLib.systemd.submodules.sockets
List of modules associated for {option}`programs.systemd.$VARIANT.sockets`.
wrapperManagerLib.systemd.submodules.sockets'
Convenience function around sockets
to make a list of modules with the
global wrapper-manager systemd-related options.
wrapperManagerLib.systemd.submodules.timers
List of modules associated for {option}`programs.systemd.$VARIANT.timers`.
wrapperManagerLib.systemd.submodules.timers'
Convenience function around timers
to make a list of modules with the
global wrapper-manager systemd-related options.
wrapperManagerLib.systemd.submodules.paths
List of modules associated for {option}`programs.systemd.$VARIANT.paths`.
wrapperManagerLib.systemd.submodules.paths'
Convenience function around paths
to make a list of modules with the
global wrapper-manager systemd-related options.
wrapperManagerLib.systemd.submodules.slices
List of modules associated for {option}`programs.systemd.$VARIANT.slices`.
wrapperManagerLib.systemd.submodules.slices'
Convenience function around slices
to make a list of modules with the
global wrapper-manager systemd-related options.
wrapperManagerLib.systemd.submodules.mounts
List of modules associated for {option}`programs.systemd.$VARIANT.mounts`.
wrapperManagerLib.systemd.submodules.mounts'
Convenience function around mounts
to make a list of modules with the
global wrapper-manager systemd-related options.
wrapperManagerLib.systemd.submodules.automounts
List of modules associated for {option}`programs.systemd.$VARIANT.automounts`.