0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/systemd-unit-options: Fix indentation

This commit is contained in:
Janne Heß 2022-04-04 11:48:13 +01:00
parent 4b9efea255
commit beb02229fb
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

@ -94,7 +94,8 @@ in rec {
}; };
commonUnitOptions = { options = (sharedOptions // { commonUnitOptions = {
options = sharedOptions // {
description = mkOption { description = mkOption {
default = ""; default = "";
@ -218,7 +219,8 @@ in rec {
''; '';
}; };
}); }; };
};
stage2CommonUnitOptions = { stage2CommonUnitOptions = {
imports = [ imports = [
@ -250,7 +252,8 @@ in rec {
}; };
stage1CommonUnitOptions = commonUnitOptions; stage1CommonUnitOptions = commonUnitOptions;
serviceOptions = { name, config, ... }: { options = { serviceOptions = { name, config, ... }: {
options = {
environment = mkOption { environment = mkOption {
default = {}; default = {};
@ -450,7 +453,8 @@ in rec {
}; };
socketOptions = { options = { socketOptions = {
options = {
listenStreams = mkOption { listenStreams = mkOption {
default = []; default = [];
@ -483,8 +487,9 @@ in rec {
<manvolnum>5</manvolnum></citerefentry> for details. <manvolnum>5</manvolnum></citerefentry> for details.
''; '';
}; };
};
}; }; };
stage2SocketOptions = { stage2SocketOptions = {
imports = [ imports = [
@ -501,7 +506,8 @@ in rec {
}; };
timerOptions = { options = { timerOptions = {
options = {
timerConfig = mkOption { timerConfig = mkOption {
default = {}; default = {};
@ -517,7 +523,8 @@ in rec {
''; '';
}; };
}; }; };
};
stage2TimerOptions = { stage2TimerOptions = {
imports = [ imports = [
@ -534,7 +541,8 @@ in rec {
}; };
pathOptions = { options = { pathOptions = {
options = {
pathConfig = mkOption { pathConfig = mkOption {
default = {}; default = {};
@ -548,7 +556,8 @@ in rec {
''; '';
}; };
}; }; };
};
stage2PathOptions = { stage2PathOptions = {
imports = [ imports = [
@ -565,7 +574,8 @@ in rec {
}; };
mountOptions = { options = { mountOptions = {
options = {
what = mkOption { what = mkOption {
example = "/dev/sda1"; example = "/dev/sda1";
@ -607,7 +617,9 @@ in rec {
<manvolnum>5</manvolnum></citerefentry> for details. <manvolnum>5</manvolnum></citerefentry> for details.
''; '';
}; };
}; };
};
};
stage2MountOptions = { stage2MountOptions = {
imports = [ imports = [
@ -623,7 +635,8 @@ in rec {
]; ];
}; };
automountOptions = { options = { automountOptions = {
options = {
where = mkOption { where = mkOption {
example = "/mnt"; example = "/mnt";
@ -645,7 +658,9 @@ in rec {
<manvolnum>5</manvolnum></citerefentry> for details. <manvolnum>5</manvolnum></citerefentry> for details.
''; '';
}; };
}; };
};
};
stage2AutomountOptions = { stage2AutomountOptions = {
imports = [ imports = [
@ -661,7 +676,8 @@ in rec {
]; ];
}; };
sliceOptions = { options = { sliceOptions = {
options = {
sliceConfig = mkOption { sliceConfig = mkOption {
default = {}; default = {};
@ -675,7 +691,8 @@ in rec {
''; '';
}; };
}; }; };
};
stage2SliceOptions = { stage2SliceOptions = {
imports = [ imports = [