made git profile options.
This commit is contained in:
		
							parent
							
								
									a26d6a1e02
								
							
						
					
					
						commit
						90409b441f
					
				
					 8 changed files with 187 additions and 129 deletions
				
			
		| 
						 | 
				
			
			@ -5,12 +5,21 @@
 | 
			
		|||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  # Home Manager needs a bit of information about you and the paths it should
 | 
			
		||||
  # manage.
 | 
			
		||||
  # machine specific options
 | 
			
		||||
  host.enable-speech = true;
 | 
			
		||||
  host.nvim.enable-lsp = true;
 | 
			
		||||
  host.nvim.enable-treesitter = true;
 | 
			
		||||
  host = {
 | 
			
		||||
    enable-speech = true;
 | 
			
		||||
    nvim = {
 | 
			
		||||
      enable-lsp = true;
 | 
			
		||||
      enable-treesitter = true;
 | 
			
		||||
    };
 | 
			
		||||
    git = {
 | 
			
		||||
      profile = {
 | 
			
		||||
        name = "Gabe Venberg";
 | 
			
		||||
        email = "gabevenberg@gmail.com";
 | 
			
		||||
      };
 | 
			
		||||
      workProfile.enable = false;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,18 +4,27 @@
 | 
			
		|||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  # Home Manager needs a bit of information about you and the paths it should
 | 
			
		||||
  # manage.
 | 
			
		||||
  # machine specific options
 | 
			
		||||
  host.enable-speech = true;
 | 
			
		||||
  host.nvim.enable-lsp = true;
 | 
			
		||||
  host.nvim.enable-treesitter = true;
 | 
			
		||||
  host = {
 | 
			
		||||
    enable-speech = true;
 | 
			
		||||
    nvim = {
 | 
			
		||||
      enable-lsp = true;
 | 
			
		||||
      enable-treesitter = true;
 | 
			
		||||
    };
 | 
			
		||||
    git = {
 | 
			
		||||
      profile = {
 | 
			
		||||
        name = "Gabe Venberg";
 | 
			
		||||
        email = "gabevenberg@gmail.com";
 | 
			
		||||
      };
 | 
			
		||||
      workProfile.enable = false;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  targets.genericLinux.enable = true;
 | 
			
		||||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../terminal/terminal.nix
 | 
			
		||||
    ../../modules/home-manager/home-manager.nix
 | 
			
		||||
    ../modules/home-manager/terminal/terminal.nix
 | 
			
		||||
    ../modules/home-manager/home-manager.nix
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										33
									
								
								hosts/gabe-workstation.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								hosts/gabe-workstation.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,33 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  host = {
 | 
			
		||||
    # machine specific options
 | 
			
		||||
    enable-speech = true;
 | 
			
		||||
    nvim = {
 | 
			
		||||
      enable-lsp = true;
 | 
			
		||||
      enable-treesitter = true;
 | 
			
		||||
    };
 | 
			
		||||
    git = {
 | 
			
		||||
      profile = {
 | 
			
		||||
        name = "Gabe Venberg";
 | 
			
		||||
        email = "gabevenberg@gmail.com";
 | 
			
		||||
      };
 | 
			
		||||
      workProfile = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        email = "venberggabe@johndeere.com";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  targets.genericLinux.enable = true;
 | 
			
		||||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../modules/home-manager/terminal/terminal.nix
 | 
			
		||||
    ../modules/home-manager/home-manager.nix
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,21 +0,0 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  # Home Manager needs a bit of information about you and the paths it should
 | 
			
		||||
  # manage.
 | 
			
		||||
  # machine specific options
 | 
			
		||||
  host.enable-speech = false;
 | 
			
		||||
  host.nvim.enable-lsp = false;
 | 
			
		||||
  host.nvim.enable-treesitter = true;
 | 
			
		||||
 | 
			
		||||
  targets.genericLinux.enable = true;
 | 
			
		||||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../terminal/terminal.nix
 | 
			
		||||
    ../../modules/home-manager/home-manager.nix
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue