Compare commits
	
		
			4 commits
		
	
	
		
			f25e8b716e
			...
			d6c331b940
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| d6c331b940 | |||
| fbefcac164 | |||
| 380b92d50b | |||
| c5ffac15d3 | 
					 16 changed files with 30 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -77,12 +77,12 @@
 | 
			
		|||
          nixvim.homeManagerModules.nixvim
 | 
			
		||||
        ];
 | 
			
		||||
      };
 | 
			
		||||
      "gabe@workstation" = home-manager.lib.homeManagerConfiguration {
 | 
			
		||||
      "gabe@gv-workstation" = home-manager.lib.homeManagerConfiguration {
 | 
			
		||||
        pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
 | 
			
		||||
        extraSpecialArgs = {inherit inputs outputs;};
 | 
			
		||||
        # > Our main home-manager configuration file <
 | 
			
		||||
        modules = [
 | 
			
		||||
          ./hosts/gabe-workstation.nix
 | 
			
		||||
          ./hosts/gabe-gv-workstation.nix
 | 
			
		||||
          nixvim.homeManagerModules.nixvim
 | 
			
		||||
        ];
 | 
			
		||||
      };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -24,9 +24,9 @@
 | 
			
		|||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../modules/home-manager/terminal/terminal.nix
 | 
			
		||||
    ../../modules/home-manager/home-manager.nix
 | 
			
		||||
    ../../modules/home-manager/kittty/kitty.nix
 | 
			
		||||
    ../../modules/home-manager/terminal
 | 
			
		||||
    ../../modules/home-manager
 | 
			
		||||
    ../../modules/home-manager/kittty
 | 
			
		||||
    inputs.nixvim.homeManagerModules.nixvim
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -24,7 +24,7 @@
 | 
			
		|||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../modules/home-manager/terminal/terminal.nix
 | 
			
		||||
    ../modules/home-manager/home-manager.nix
 | 
			
		||||
    ../modules/home-manager/terminal
 | 
			
		||||
    ../modules/home-manager
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -27,7 +27,7 @@
 | 
			
		|||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../modules/home-manager/terminal/terminal.nix
 | 
			
		||||
    ../modules/home-manager/home-manager.nix
 | 
			
		||||
    ../modules/home-manager/terminal
 | 
			
		||||
    ../modules/home-manager
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -24,9 +24,9 @@
 | 
			
		|||
  home.username = "gabe";
 | 
			
		||||
  home.homeDirectory = "/home/gabe";
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../modules/home-manager/terminal/terminal.nix
 | 
			
		||||
    ../../modules/home-manager/home-manager.nix
 | 
			
		||||
    ../../modules/home-manager/kittty/kitty.nix
 | 
			
		||||
    ../../modules/home-manager/terminal
 | 
			
		||||
    ../../modules/home-manager
 | 
			
		||||
    ../../modules/home-manager/kittty
 | 
			
		||||
    inputs.nixvim.homeManagerModules.nixvim
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										8
									
								
								justfile
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								justfile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,16 +1,16 @@
 | 
			
		|||
default:
 | 
			
		||||
    just --list
 | 
			
		||||
 | 
			
		||||
nixos target:
 | 
			
		||||
nixos target=`hostname`:
 | 
			
		||||
    sudo nixos-rebuild --flake .#{{target}} switch
 | 
			
		||||
 | 
			
		||||
home-manager target:
 | 
			
		||||
home-manager target=(`whoami`+"@"+`hostname`):
 | 
			
		||||
    home-manager --flake .#{{target}} switch
 | 
			
		||||
 | 
			
		||||
check-home-manager target:
 | 
			
		||||
check-home-manager target=(`whoami`+"@"+`hostname`):
 | 
			
		||||
    home-manager build --no-out-link --flake .#{{target}}
 | 
			
		||||
 | 
			
		||||
bootstrap-home-manager target:
 | 
			
		||||
bootstrap-home-manager target=(`whoami`+"@"+`hostname`):
 | 
			
		||||
    nix run --extra-experimental-features "nix-command flakes" --no-write-lock-file github:nix-community/home-manager/ -- --extra-experimental-features "nix-command flakes" --flake .#{{target}} switch
 | 
			
		||||
 | 
			
		||||
format:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -39,13 +39,13 @@
 | 
			
		|||
  };
 | 
			
		||||
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./nushell/nushell.nix
 | 
			
		||||
    ./nushell
 | 
			
		||||
    ./zsh.nix
 | 
			
		||||
    ./git.nix
 | 
			
		||||
    ./starship.nix
 | 
			
		||||
    ./voice.nix
 | 
			
		||||
    ./nvim/nvim.nix
 | 
			
		||||
    ./zellij/zellij.nix
 | 
			
		||||
    ./nvim
 | 
			
		||||
    ./zellij
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  programs = {
 | 
			
		||||
| 
						 | 
				
			
			@ -32,7 +32,13 @@
 | 
			
		|||
        graph = "log --graph --topo-order --all --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'";
 | 
			
		||||
        recent = "branch --sort=-committerdate --format='%(committerdate:relative)%09%(refname:short)'";
 | 
			
		||||
      };
 | 
			
		||||
      delta.enable = true;
 | 
			
		||||
      delta = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        options = {
 | 
			
		||||
          side-by-side = true;
 | 
			
		||||
          line-numbers = true;
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
      # difftastic.enable=true;
 | 
			
		||||
      # difftastic.background="dark";
 | 
			
		||||
      userEmail = config.host.git.profile.email;
 | 
			
		||||
| 
						 | 
				
			
			@ -68,7 +74,7 @@
 | 
			
		|||
        if config.host.git.workProfile.enable
 | 
			
		||||
        then [
 | 
			
		||||
          {
 | 
			
		||||
            condition = "gitdir:~/work/";
 | 
			
		||||
            condition = "gitdir:~/work/**";
 | 
			
		||||
            contents.user.email = config.host.git.workProfile.email;
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,8 +31,8 @@
 | 
			
		|||
    ./gitsigns.nix
 | 
			
		||||
    ./which-key.nix
 | 
			
		||||
    ./telescope.nix
 | 
			
		||||
    ./treesitter/treesitter.nix
 | 
			
		||||
    ./cmp/cmp.nix
 | 
			
		||||
    ./lsp/lsp.nix
 | 
			
		||||
    ./treesitter
 | 
			
		||||
    ./cmp
 | 
			
		||||
    ./lsp
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue