made hm profile for home desktop.

This commit is contained in:
Gabe Venberg 2024-05-15 11:32:19 -05:00
parent 13a813a32a
commit d9e424dcfb
6 changed files with 19 additions and 5 deletions

View file

@ -53,8 +53,9 @@
# Standalone home-manager configuration entrypoint # Standalone home-manager configuration entrypoint
# Available through 'home-manager --flake .#your-username@your-hostname' # Available through 'home-manager --flake .#your-username@your-hostname'
homeConfigurations = { homeConfigurations = {
"gabe@archlaptop" = import ./hosts/gabe-archlaptop.nix {inherit inputs outputs;}; "gabe@archlaptop" = import ./hosts/home-personal.nix {inherit inputs outputs;};
"gabe@gv-workstation" = import ./hosts/gabe-gv-workstation.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;};
}; };
}; };
} }

View file

@ -35,12 +35,12 @@ inputs.home-manager.lib.homeManagerConfiguration {
home.homeDirectory = /home/gabe; home.homeDirectory = /home/gabe;
imports = [ imports = [
../roles/home-manager/terminal.nix ../roles/home-manager/terminal.nix
../modules/home-manager/nvim
../modules/home-manager/common.nix ../modules/home-manager/common.nix
../modules/home-manager/syncthing.nix ../modules/home-manager/syncthing.nix
../modules/home-manager/beets.nix ../modules/home-manager/beets.nix
../modules/home-manager/mpd/mpd.nix ../modules/home-manager/mpd/mpd.nix
../modules/home-manager/email.nix ../modules/home-manager/email.nix
../modules/home-manager/terminal/voice.nix
]; ];
}) })
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim

View file

@ -38,7 +38,6 @@ inputs.home-manager.lib.homeManagerConfiguration {
home.homeDirectory = /home/gabe; home.homeDirectory = /home/gabe;
imports = [ imports = [
../roles/home-manager/terminal.nix ../roles/home-manager/terminal.nix
../modules/home-manager/nvim
../modules/home-manager/common.nix ../modules/home-manager/common.nix
../modules/home-manager/syncthing.nix ../modules/home-manager/syncthing.nix
../modules/home-manager/email.nix ../modules/home-manager/email.nix

View file

@ -2,12 +2,15 @@ default:
just --list just --list
nixos target=`hostname`: nixos target=`hostname`:
git add -AN
sudo nixos-rebuild --flake .#{{target}} switch sudo nixos-rebuild --flake .#{{target}} switch
home-manager target=(`whoami`+"@"+`hostname`): home-manager target=(`whoami`+"@"+`hostname`):
git add -AN
home-manager --flake .#{{target}} switch home-manager --flake .#{{target}} switch
check-home-manager target=(`whoami`+"@"+`hostname`): check-home-manager target=(`whoami`+"@"+`hostname`):
git add -AN
home-manager build --no-out-link --flake .#{{target}} home-manager build --no-out-link --flake .#{{target}}
bootstrap-home-manager target=(`whoami`+"@"+`hostname`): bootstrap-home-manager target=(`whoami`+"@"+`hostname`):

View file

@ -29,6 +29,15 @@
setopt COMPLETE_ALIASES setopt COMPLETE_ALIASES
#select first item when you press tab the first time. #select first item when you press tab the first time.
setopt MENU_COMPLETE 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) '' (lib.mkIf (!config.programs.starship.enable) ''
autoload -U promptinit autoload -U promptinit
@ -58,6 +67,8 @@
'') '')
]; ];
autocd = true; autocd = true;
autosuggestion.enable = true;
defaultKeymap = "viins";
history = { history = {
ignoreAllDups = true; ignoreAllDups = true;
extended = true; extended = true;

View file

@ -8,8 +8,8 @@
./minimal-terminal.nix ./minimal-terminal.nix
../../modules/home-manager/terminal/nushell ../../modules/home-manager/terminal/nushell
../../modules/home-manager/terminal/starship.nix ../../modules/home-manager/terminal/starship.nix
../../modules/home-manager/terminal/voice.nix
../../modules/home-manager/terminal/tiny-irc.nix ../../modules/home-manager/terminal/tiny-irc.nix
../../modules/home-manager/nvim
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
tre-command tre-command