made hm profile for home desktop.
This commit is contained in:
		
							parent
							
								
									13a813a32a
								
							
						
					
					
						commit
						d9e424dcfb
					
				
					 6 changed files with 19 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -53,8 +53,9 @@
 | 
			
		|||
    # Standalone home-manager configuration entrypoint
 | 
			
		||||
    # Available through 'home-manager --flake .#your-username@your-hostname'
 | 
			
		||||
    homeConfigurations = {
 | 
			
		||||
      "gabe@archlaptop" = import ./hosts/gabe-archlaptop.nix {inherit inputs outputs;};
 | 
			
		||||
      "gabe@gv-workstation" = import ./hosts/gabe-gv-workstation.nix {inherit inputs outputs;};
 | 
			
		||||
      "gabe@archlaptop" = import ./hosts/home-personal.nix {inherit inputs outputs;};
 | 
			
		||||
      "gabe@linuxgamingrig" = import ./hosts/home-personal.nix {inherit inputs outputs;};
 | 
			
		||||
      "gabe@gv-workstation" = import ./hosts/home-workstation.nix {inherit inputs outputs;};
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -35,12 +35,12 @@ inputs.home-manager.lib.homeManagerConfiguration {
 | 
			
		|||
      home.homeDirectory = /home/gabe;
 | 
			
		||||
      imports = [
 | 
			
		||||
        ../roles/home-manager/terminal.nix
 | 
			
		||||
        ../modules/home-manager/nvim
 | 
			
		||||
        ../modules/home-manager/common.nix
 | 
			
		||||
        ../modules/home-manager/syncthing.nix
 | 
			
		||||
        ../modules/home-manager/beets.nix
 | 
			
		||||
        ../modules/home-manager/mpd/mpd.nix
 | 
			
		||||
        ../modules/home-manager/email.nix
 | 
			
		||||
        ../modules/home-manager/terminal/voice.nix
 | 
			
		||||
      ];
 | 
			
		||||
    })
 | 
			
		||||
    inputs.nixvim.homeManagerModules.nixvim
 | 
			
		||||
| 
						 | 
				
			
			@ -38,7 +38,6 @@ inputs.home-manager.lib.homeManagerConfiguration {
 | 
			
		|||
      home.homeDirectory = /home/gabe;
 | 
			
		||||
      imports = [
 | 
			
		||||
        ../roles/home-manager/terminal.nix
 | 
			
		||||
        ../modules/home-manager/nvim
 | 
			
		||||
        ../modules/home-manager/common.nix
 | 
			
		||||
        ../modules/home-manager/syncthing.nix
 | 
			
		||||
        ../modules/home-manager/email.nix
 | 
			
		||||
							
								
								
									
										3
									
								
								justfile
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								justfile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -2,12 +2,15 @@ default:
 | 
			
		|||
    just --list
 | 
			
		||||
 | 
			
		||||
nixos target=`hostname`:
 | 
			
		||||
    git add -AN
 | 
			
		||||
    sudo nixos-rebuild --flake .#{{target}} switch
 | 
			
		||||
 | 
			
		||||
home-manager target=(`whoami`+"@"+`hostname`):
 | 
			
		||||
    git add -AN
 | 
			
		||||
    home-manager --flake .#{{target}} switch
 | 
			
		||||
 | 
			
		||||
check-home-manager target=(`whoami`+"@"+`hostname`):
 | 
			
		||||
    git add -AN
 | 
			
		||||
    home-manager build --no-out-link --flake .#{{target}}
 | 
			
		||||
 | 
			
		||||
bootstrap-home-manager target=(`whoami`+"@"+`hostname`):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,6 +29,15 @@
 | 
			
		|||
        setopt COMPLETE_ALIASES
 | 
			
		||||
        #select first item when you press tab the first time.
 | 
			
		||||
        setopt MENU_COMPLETE
 | 
			
		||||
        #case insensitive globbing
 | 
			
		||||
        setopt NO_CASE_GLOB
 | 
			
		||||
        #sort globs that expand to numbers by number rather than alphabeticly
 | 
			
		||||
        setopt NUMERIC_GLOB_SORT
 | 
			
		||||
        #allows for some neat globbing.
 | 
			
		||||
        setopt EXTENDED_GLOB
 | 
			
		||||
        #allow backspacing beyond the point you entered insert mode:
 | 
			
		||||
        bindkey -v '^?' backward-delete-char
 | 
			
		||||
        bindkey "^W" backward-kill-word
 | 
			
		||||
      ''
 | 
			
		||||
      (lib.mkIf (!config.programs.starship.enable) ''
 | 
			
		||||
        autoload -U promptinit
 | 
			
		||||
| 
						 | 
				
			
			@ -58,6 +67,8 @@
 | 
			
		|||
      '')
 | 
			
		||||
    ];
 | 
			
		||||
    autocd = true;
 | 
			
		||||
    autosuggestion.enable = true;
 | 
			
		||||
    defaultKeymap = "viins";
 | 
			
		||||
    history = {
 | 
			
		||||
      ignoreAllDups = true;
 | 
			
		||||
      extended = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,8 @@
 | 
			
		|||
    ./minimal-terminal.nix
 | 
			
		||||
    ../../modules/home-manager/terminal/nushell
 | 
			
		||||
    ../../modules/home-manager/terminal/starship.nix
 | 
			
		||||
    ../../modules/home-manager/terminal/voice.nix
 | 
			
		||||
    ../../modules/home-manager/terminal/tiny-irc.nix
 | 
			
		||||
    ../../modules/home-manager/nvim
 | 
			
		||||
  ];
 | 
			
		||||
  home.packages = with pkgs; [
 | 
			
		||||
    tre-command
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue