Defaults: Use common mkDefault for everything
This commit is contained in:
		
							parent
							
								
									ce10eb017e
								
							
						
					
					
						commit
						9940f822fb
					
				
					 1 changed files with 10 additions and 9 deletions
				
			
		| 
						 | 
					@ -1,14 +1,15 @@
 | 
				
			||||||
{ lib, ... }:
 | 
					{ lib, ... }:
 | 
				
			||||||
with lib;
 | 
					 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    i18n.defaultLocale = mkDefault "en_GB.UTF-8";
 | 
					    config = lib.mkDefault {
 | 
				
			||||||
    console.keyMap = mkDefault "de";
 | 
					        i18n.defaultLocale = "en_GB.UTF-8";
 | 
				
			||||||
    services.openssh.enable = mkDefault true;
 | 
					        console.keyMap = "de";
 | 
				
			||||||
    services.openssh.passwordAuthentication = mkDefault false;
 | 
					        services.openssh.enable = true;
 | 
				
			||||||
 | 
					        services.openssh.passwordAuthentication = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    nix.gc = mkDefault {
 | 
					        nix.gc = {
 | 
				
			||||||
            automatic = true;
 | 
					            automatic = true;
 | 
				
			||||||
            dates = "weekly";
 | 
					            dates = "weekly";
 | 
				
			||||||
            options = "--delete-older-than 30d";
 | 
					            options = "--delete-older-than 30d";
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue