mirror of
				https://github.com/nmasur/dotfiles
				synced 2025-11-04 07:03:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			475 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			475 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  lib,
 | 
						|
  hostnames,
 | 
						|
  ...
 | 
						|
}:
 | 
						|
 | 
						|
{
 | 
						|
  options.nmasur.settings = {
 | 
						|
    username = lib.mkOption {
 | 
						|
      type = lib.types.str;
 | 
						|
      description = "Primary username for the system";
 | 
						|
    };
 | 
						|
    fullName = lib.mkOption {
 | 
						|
      type = lib.types.str;
 | 
						|
      description = "Human readable name of the user";
 | 
						|
    };
 | 
						|
    hostnames = lib.mkOption {
 | 
						|
      type = lib.types.attrsOf lib.types.str;
 | 
						|
      description = "Map of service names to FQDNs";
 | 
						|
      default = hostnames;
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |