Jafner.net/nix/home-manager/home.nix
Joey Hafner 2194664a1e
Some checks failed
SSH and echo to file / ssh (push) Failing after 4s
Update from joey@joey-laptop
2024-09-13 16:08:33 -07:00

79 lines
1.9 KiB
Nix

{ config, pkgs, ... }:
{
home.username = "joey";
home.homeDirectory = "/home/joey";
home.stateVersion = "24.05";
home.packages = [
pkgs.fastfetch
pkgs.tree
];
home.file = {};
home.sessionVariables = {};
# Programs
programs.kitty.enable = true;
wayland.windowManager.hyprland = {
enable = true;
settings = {
decoration = {
shadow_offset = "0 5";
"col.shadow" = "rgba(00000099)";
};
"$mod" = "SUPER";
bindm = [
"$mod, mouse:272, movewindow"
"$mod, mouse:273, resizewindow"
"$mod, ALT, mouse:272, resizewindow"
];
};
};
programs.git = {
enable = true;
userName = "Joey Hafner";
userEmail = "joey@jafner.net";
extraConfig = {
core.sshCommand = "ssh -i /home/joey/.ssh/joey@joey-laptop";
};
};
programs.zsh = {
enable = true;
dotDir = ".config/zsh";
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
nos = "sudo nixos-rebuild switch --flake .";
hms = "home-manager switch --flake .";
};
history = {
share = true;
save = 10000;
size = 10000;
expireDuplicatesFirst = false;
extended = false;
ignoreAllDups = false;
ignoreDups = true;
};
initExtra = ''
bindkey -e
bindkey '^[[1;5A' history-search-backward # Ctrl+Up-arrow
bindkey '^[[1;5B' history-search-forward # Ctrl+Down-arrow
bindkey '^[[1;5D' backward-word # Ctrl+Left-arrow
bindkey '^[[1;5C' forward-word # Ctrl+Right-arrow
bindkey '^[[H' beginning-of-line # Home
bindkey '^[[F' end-of-line # End
bindkey '^[w' kill-region # Delete
bindkey '^I^I' autosuggest-accept # Tab, Tab
bindkey '^[' autosuggest-clear # Esc
'';
};
programs.home-manager = {
enable = true;
};
}