Redid setup

This commit is contained in:
Weckyy702
2026-01-14 00:14:24 +01:00
parent 7fd9d83ce1
commit a561aa45e9
7 changed files with 379 additions and 4 deletions

86
home/home.nix Normal file
View File

@@ -0,0 +1,86 @@
{ config, pkgs, username, ...}: {
home.username = username;
home.homeDirectory = "/home/${username}";
home.packages = with pkgs; [
mpv
];
programs.kitty = {
enable = true;
};
programs.wofi.enable = true;
wayland.windowManager.hyprland = {
enable = true;
settings = {
};
};
programs.zsh = {
enable = true;
# For automatic login
profileExtra = ''
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
exec hyprland
fi
'';
autocd = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
plugins = [
{
name = "powerlevel10k";
src = "${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/";
file = "powerlevel10k.zsh-theme";
}
{
name = "p10k-config";
src = ./p10k;
file = "p10k.zsh";
}
];
oh-my-zsh = {
enable = true;
plugins = [
"git"
];
theme = "robbyrussell";
};
};
programs.neovim = {
enable = true;
defaultEditor = true;
vimdiffAlias = true;
#TODO: nvim config. Maybe nixvim?
};
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
programs.kitty = {
enable = true;
enableGitIntegration = true;
#TODO: kitty config
};
programs.git = {
enable = true;
settings.user = {
email = "weckyy702@gmail.com";
name = "Weckyy702";
};
#TODO: signing
};
#NOTE: MUST be kept up to date with nixpkgs!
home.stateVersion = "25.11";
}