git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/sddm: fix indentation
commitfac138a2f5a784694b652f7f1f8767e7882d542c authorThomas Tuegel <ttuegel@gmail.com> dateSat 12 Dec 2015, 11:33 (11 years ago) parent73a9826
1 file changed+8−6
nixos/modules/services/x11/display-managers/sddm.nix+8−6
nixos/modules/services/x11/display-managers/sddm.nix+8−6
@@ -138,7 +138,7 @@ in
138138 '';
139139
140140 type = types.submodule {
141− options = {
141+ options = {
142142 enable = mkOption {
143143 type = types.bool;
144144 default = false;
@@ -163,7 +163,7 @@ in
163163 will work only the first time.
164164 '';
165165 };
166− };
166+ };
167167 };
168168 };
169169
@@ -175,14 +175,16 @@ in
175175
176176 assertions = [
177177 { assertion = cfg.autoLogin.enable -> cfg.autoLogin.user != null;
178− message = "SDDM auto-login requires services.xserver.displayManager.sddm.autoLogin.user to be set";
178+ message = ''
179+ SDDM auto-login requires services.xserver.displayManager.sddm.autoLogin.user to be set
180+ '';
179181 }
180182 { assertion = cfg.autoLogin.enable -> elem defaultSessionName dmcfg.session.names;
181183 message = ''
182184 SDDM auto-login requires that services.xserver.desktopManager.default and
183− services.xserver.windowMananger.default are set to valid values. The current
184− default session: ${defaultSessionName} is not valid.
185− '';
185+ services.xserver.windowMananger.default are set to valid values. The current
186+ default session: ${defaultSessionName} is not valid.
187+ '';
186188 }
187189 ];
188190