diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-02-02 00:51:16 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-02-02 00:52:54 +0300 |
commit | 8ef14f80e3d4d27644dec3d6d47152ae4b40ab07 (patch) | |
tree | 7faf81d7e39760ffb85a3c3ea8ca651903dbfe3c /nixos/modules/system/boot/systemd-unit-options.nix | |
parent | dd934beb9fce6345097008c0316e18880b052129 (diff) | |
download | nixpkgs-8ef14f80e3d4d27644dec3d6d47152ae4b40ab07.tar nixpkgs-8ef14f80e3d4d27644dec3d6d47152ae4b40ab07.tar.gz nixpkgs-8ef14f80e3d4d27644dec3d6d47152ae4b40ab07.tar.bz2 nixpkgs-8ef14f80e3d4d27644dec3d6d47152ae4b40ab07.tar.lz nixpkgs-8ef14f80e3d4d27644dec3d6d47152ae4b40ab07.tar.xz nixpkgs-8ef14f80e3d4d27644dec3d6d47152ae4b40ab07.tar.zst nixpkgs-8ef14f80e3d4d27644dec3d6d47152ae4b40ab07.zip |
systemd service: add aliases option
Diffstat (limited to 'nixos/modules/system/boot/systemd-unit-options.nix')
-rw-r--r-- | nixos/modules/system/boot/systemd-unit-options.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix index 69af2398148..904e41b019f 100644 --- a/nixos/modules/system/boot/systemd-unit-options.nix +++ b/nixos/modules/system/boot/systemd-unit-options.nix @@ -52,6 +52,12 @@ in rec { description = "Units that want (i.e. depend on) this unit."; }; + aliases = mkOption { + default = []; + type = types.listOf types.str; + description = "Aliases of that unit."; + }; + }; concreteUnitOptions = sharedOptions // { |