This commit is contained in:
parent
8e4e563303
commit
2194664a1e
@ -6,6 +6,7 @@
|
||||
home.stateVersion = "24.05";
|
||||
home.packages = [
|
||||
pkgs.fastfetch
|
||||
pkgs.tree
|
||||
];
|
||||
home.file = {};
|
||||
home.sessionVariables = {};
|
||||
@ -42,6 +43,33 @@
|
||||
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 = {
|
||||
|
@ -73,6 +73,9 @@
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
users.users.joey.shell = pkgs.zsh;
|
||||
|
||||
users.users.joey = {
|
||||
isNormalUser = true;
|
||||
description = "joey";
|
||||
@ -87,18 +90,8 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
git
|
||||
fastfetch
|
||||
waybar mako libnotify swww kitty rofi-wayland polkit-kde-agent wl-clipboard
|
||||
];
|
||||
|
||||
#programs.kitty.enable = true; # This line is present in hyprland's install docs, but seems to be invalid
|
||||
programs.hyprland.enable = true;
|
||||
#programs.hyprland.xwayland.enable = true;
|
||||
#programs.hyprland.package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
||||
xdg.portal.config.common.default = "*";
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user