moved nixvim into own home-manager module.
moved pass store location.
This commit is contained in:
		
							parent
							
								
									bbc6beb3da
								
							
						
					
					
						commit
						2253c6c34a
					
				
					 28 changed files with 24 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -5,11 +5,11 @@
 | 
			
		|||
    # Nixpkgs
 | 
			
		||||
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
 | 
			
		||||
 | 
			
		||||
    # Home manager
 | 
			
		||||
    home-manager = {
 | 
			
		||||
      url = "github:nix-community/home-manager";
 | 
			
		||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    nixvim = {
 | 
			
		||||
      url = "github:nix-community/nixvim";
 | 
			
		||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,11 +22,12 @@
 | 
			
		|||
  };
 | 
			
		||||
 | 
			
		||||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  home.homeDirectory = /home/gabe;
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../modules/home-manager/terminal
 | 
			
		||||
    ../../modules/home-manager/nvim
 | 
			
		||||
    ../../modules/home-manager
 | 
			
		||||
    ../../modules/home-manager/kittty
 | 
			
		||||
    ../../modules/home-manager/kittty.nix
 | 
			
		||||
    inputs.nixvim.homeManagerModules.nixvim
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,9 +22,11 @@
 | 
			
		|||
 | 
			
		||||
  targets.genericLinux.enable = true;
 | 
			
		||||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  home.homeDirectory = /home/gabe;
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../modules/home-manager/terminal
 | 
			
		||||
    ../modules/home-manager/nvim
 | 
			
		||||
    ../modules/home-manager
 | 
			
		||||
    ../modules/home-manager/syncthing.nix
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,9 +25,10 @@
 | 
			
		|||
 | 
			
		||||
  targets.genericLinux.enable = true;
 | 
			
		||||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  home.homeDirectory = /home/gabe;
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../modules/home-manager/terminal
 | 
			
		||||
    ../modules/home-manager/nvim
 | 
			
		||||
    ../modules/home-manager
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,11 +22,12 @@
 | 
			
		|||
  };
 | 
			
		||||
 | 
			
		||||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  home.homeDirectory = /home/gabe;
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../modules/home-manager/terminal
 | 
			
		||||
    ../../modules/home-manager/nvim
 | 
			
		||||
    ../../modules/home-manager
 | 
			
		||||
    ../../modules/home-manager/kittty
 | 
			
		||||
    ../../modules/home-manager/kittty.nix
 | 
			
		||||
    inputs.nixvim.homeManagerModules.nixvim
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										8
									
								
								modules/home-manager/syncthing.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								modules/home-manager/syncthing.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  services.syncthing.enable = true;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -44,7 +44,6 @@
 | 
			
		|||
    ./git.nix
 | 
			
		||||
    ./starship.nix
 | 
			
		||||
    ./voice.nix
 | 
			
		||||
    ./nvim
 | 
			
		||||
    ./zellij
 | 
			
		||||
    ./tiny-irc.nix
 | 
			
		||||
    ./pass.nix
 | 
			
		||||
| 
						 | 
				
			
			@ -64,6 +63,4 @@
 | 
			
		|||
      nix-direnv.enable = true;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.syncthing.enable = true;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,9 @@
 | 
			
		|||
}: {
 | 
			
		||||
  programs.password-store = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    settings={
 | 
			
		||||
      PASSWORD_STORE_DIR = "$HOME/keys/password-store";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  home.packages = with pkgs; [
 | 
			
		||||
| 
						 | 
				
			
			@ -13,6 +16,6 @@
 | 
			
		|||
  ];
 | 
			
		||||
 | 
			
		||||
  programs.nushell.extraEnv = ''
 | 
			
		||||
    $env.PASSWORD_STORE_DIR = ($env.XDG_DATA_HOME | path join "password-store")
 | 
			
		||||
    $env.PASSWORD_STORE_DIR = ($env.HOME | path join "keys" "password-store")
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue