added kitty shell, module organization changes.
This commit is contained in:
		
							parent
							
								
									7ff04254fb
								
							
						
					
					
						commit
						a26d6a1e02
					
				
					 11 changed files with 72 additions and 39 deletions
				
			
		
							
								
								
									
										21
									
								
								modules/home-manager/home-manager.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								modules/home-manager/home-manager.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,21 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  home.stateVersion = "23.11"; # Please read the comment before changing.
 | 
			
		||||
 | 
			
		||||
  # Let Home Manager install and manage itself.
 | 
			
		||||
  programs.home-manager.enable = true;
 | 
			
		||||
 | 
			
		||||
  # enable flakes
 | 
			
		||||
  nix =
 | 
			
		||||
    lib.mkIf config.targets.genericLinux.enable
 | 
			
		||||
    {
 | 
			
		||||
      package = pkgs.nix;
 | 
			
		||||
      settings.experimental-features = ["nix-command" "flakes"];
 | 
			
		||||
      settings.max-jobs = "auto";
 | 
			
		||||
      gc.automatic = true;
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								modules/home-manager/kittty/kitty.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								modules/home-manager/kittty/kitty.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  programs.kitty = {
 | 
			
		||||
    enable=true;
 | 
			
		||||
    font={
 | 
			
		||||
      package=pkgs.fira-code-nerdfont;
 | 
			
		||||
      name="Fira Code";
 | 
			
		||||
    };
 | 
			
		||||
    theme="Gruvbox Dark";
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -17,6 +17,10 @@
 | 
			
		|||
 | 
			
		||||
    clipboard.providers.xsel.enable = true;
 | 
			
		||||
  };
 | 
			
		||||
  home.sessionVariables = {
 | 
			
		||||
    EDITOR = "nvim";
 | 
			
		||||
    VISUAL = "nvim";
 | 
			
		||||
  };
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./keybinds.nix
 | 
			
		||||
    ./options.nix
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,8 +4,6 @@
 | 
			
		|||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  home.stateVersion = "23.11"; # Please read the comment before changing.
 | 
			
		||||
 | 
			
		||||
  home.packages = with pkgs; [
 | 
			
		||||
    sshfs
 | 
			
		||||
    just
 | 
			
		||||
| 
						 | 
				
			
			@ -24,8 +22,6 @@
 | 
			
		|||
  };
 | 
			
		||||
 | 
			
		||||
  home.sessionVariables = {
 | 
			
		||||
    EDITOR = "nvim";
 | 
			
		||||
    VISUAL = "nvim";
 | 
			
		||||
    PIPENV_VENV_IN_PROJECT = 1;
 | 
			
		||||
    POETRY_VIRTUALENVS_IN_PROJECT = 1;
 | 
			
		||||
  };
 | 
			
		||||
| 
						 | 
				
			
			@ -47,8 +43,8 @@
 | 
			
		|||
    ./zsh.nix
 | 
			
		||||
    ./git.nix
 | 
			
		||||
    ./starship.nix
 | 
			
		||||
    ./nvim/nvim.nix
 | 
			
		||||
    ./voice.nix
 | 
			
		||||
    ./nvim/nvim.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  programs = {
 | 
			
		||||
| 
						 | 
				
			
			@ -66,17 +62,4 @@
 | 
			
		|||
  };
 | 
			
		||||
 | 
			
		||||
  services.ssh-agent.enable = true;
 | 
			
		||||
 | 
			
		||||
  # Let Home Manager install and manage itself.
 | 
			
		||||
  programs.home-manager.enable = true;
 | 
			
		||||
 | 
			
		||||
  # enable flakes
 | 
			
		||||
  nix =
 | 
			
		||||
    lib.mkIf config.targets.genericLinux.enable
 | 
			
		||||
    {
 | 
			
		||||
      package = pkgs.nix;
 | 
			
		||||
      settings.experimental-features = ["nix-command" "flakes"];
 | 
			
		||||
      settings.max-jobs = "auto";
 | 
			
		||||
      gc.automatic = true;
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,6 +9,7 @@
 | 
			
		|||
  programs.yazi.enableZshIntegration = true;
 | 
			
		||||
  programs.carapace.enableZshIntegration = true;
 | 
			
		||||
  programs.direnv.enableZshIntegration = true;
 | 
			
		||||
  programs.kitty.shellIntegration.enableZshIntegration = true;
 | 
			
		||||
  programs.zsh = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    enableCompletion = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue