refined IRC setup.
This commit is contained in:
		
							parent
							
								
									57252af57b
								
							
						
					
					
						commit
						015da14be2
					
				
					 6 changed files with 33 additions and 8 deletions
				
			
		| 
						 | 
					@ -6,8 +6,8 @@
 | 
				
			||||||
}: {
 | 
					}: {
 | 
				
			||||||
  programs.gpg.enable = true;
 | 
					  programs.gpg.enable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  services.gpg-agent={
 | 
					  services.gpg-agent = {
 | 
				
			||||||
    enable=true;
 | 
					    enable = true;
 | 
				
			||||||
    enableSshSupport = true;
 | 
					    enableSshSupport = true;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,12 +17,9 @@ path add ($env.HOME | path join ".nix-profile" "bin")
 | 
				
			||||||
path add ('/opt')
 | 
					path add ('/opt')
 | 
				
			||||||
$env.PATH = ($env.PATH | uniq)
 | 
					$env.PATH = ($env.PATH | uniq)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$env.EDITOR = nvim
 | 
					 | 
				
			||||||
$env.VISUAL = nvim
 | 
					 | 
				
			||||||
$env.PIPENV_VENV_IN_PROJECT = 1
 | 
					$env.PIPENV_VENV_IN_PROJECT = 1
 | 
				
			||||||
$env.POETRY_VIRTUALENVS_IN_PROJECT = 1
 | 
					$env.POETRY_VIRTUALENVS_IN_PROJECT = 1
 | 
				
			||||||
$env.XDG_DATA_HOME = ( $env.HOME | path join ".local" "share" )
 | 
					$env.XDG_DATA_HOME = ( $env.HOME | path join ".local" "share" )
 | 
				
			||||||
$env.PASSWORD_STORE_DIR = ($env.XDG_DATA_HOME | path join "password-store")
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
$env.NU_LIB_DIRS = [
 | 
					$env.NU_LIB_DIRS = [
 | 
				
			||||||
    ...
 | 
					    ...
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,6 +21,12 @@
 | 
				
			||||||
    EDITOR = "nvim";
 | 
					    EDITOR = "nvim";
 | 
				
			||||||
    VISUAL = "nvim";
 | 
					    VISUAL = "nvim";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  programs.nushell.extraEnv = ''
 | 
				
			||||||
 | 
					    $env.EDITOR = nvim
 | 
				
			||||||
 | 
					    $env.VISUAL = nvim
 | 
				
			||||||
 | 
					  '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  imports = [
 | 
					  imports = [
 | 
				
			||||||
    ./keybinds.nix
 | 
					    ./keybinds.nix
 | 
				
			||||||
    ./options.nix
 | 
					    ./options.nix
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,4 +11,8 @@
 | 
				
			||||||
  home.packages = with pkgs; [
 | 
					  home.packages = with pkgs; [
 | 
				
			||||||
    ripasso-cursive
 | 
					    ripasso-cursive
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  programs.nushell.extraEnv = ''
 | 
				
			||||||
 | 
					    $env.PASSWORD_STORE_DIR = ($env.XDG_DATA_HOME | path join "password-store")
 | 
				
			||||||
 | 
					  '';
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										11
									
								
								modules/home-manager/terminal/ssh-agent.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								modules/home-manager/terminal/ssh-agent.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  config,
 | 
				
			||||||
 | 
					  pkgs,
 | 
				
			||||||
 | 
					  lib,
 | 
				
			||||||
 | 
					  ...
 | 
				
			||||||
 | 
					}: {
 | 
				
			||||||
 | 
					  services.ssh-agent.enable = true;
 | 
				
			||||||
 | 
					  programs.nushell.extraEnv = ''
 | 
				
			||||||
 | 
					    $env.SSH_AUTH_SOCK = $"($env.XDG_RUNTIME_DIR)/ssh-agent"
 | 
				
			||||||
 | 
					  '';
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -19,11 +19,18 @@
 | 
				
			||||||
            "#linux"
 | 
					            "#linux"
 | 
				
			||||||
            "#lobsters"
 | 
					            "#lobsters"
 | 
				
			||||||
            "#nixos"
 | 
					            "#nixos"
 | 
				
			||||||
 | 
					            "#rust"
 | 
				
			||||||
 | 
					            "#git"
 | 
				
			||||||
 | 
					            "#programming"
 | 
				
			||||||
 | 
					            "#hardware"
 | 
				
			||||||
 | 
					            "#neovim"
 | 
				
			||||||
 | 
					            "#kernel"
 | 
				
			||||||
 | 
					            "#gamingonlinux"
 | 
				
			||||||
          ];
 | 
					          ];
 | 
				
			||||||
          sasl = {
 | 
					          sasl = {
 | 
				
			||||||
            username="toric";
 | 
					            username = "toric";
 | 
				
			||||||
            password={
 | 
					            password = {
 | 
				
			||||||
              command= "pass show libera";
 | 
					              command = "pass show libera";
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
          };
 | 
					          };
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue