home.nix/home.nix
2024-11-12 18:35:39 -05:00

58 lines
1.2 KiB
Nix

{ config, pkgs, ... }:
{
home.username = "haylin";
home.homeDirectory = "/home/haylin";
home.stateVersion = "24.05"; # Please read the comment before changing.
programs.home-manager.enable = true;
services.ssh-agent.enable = true;
catppuccin = {
enable = true;
flavor = "mocha";
};
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" ];
theme = "lambda";
};
shellAliases = {
upgrade = "home-manager switch";
};
initExtra = ''
export PS1=$(echo "$PS1" | sed 's/λ//')
export PS1="%m@$PS1"
'';
};
programs.zellij = {
enable = true;
enableZshIntegration = true;
};
xdg.configFile."zellij/config.kdl".text = ''
simplified_ui true
pane_frames false
default_layout "compact"
copy_on_select true
on_force_close "quit"
session_serialization false
pane_viewport_serialization false
disable_session_metadata false
ui {
pane_frames {
hide_session_name true
}
}
'';
programs.helix = {
enable = true;
};
}