chore: cleanup

This commit is contained in:
Zhongheng Liu 2026-03-16 16:41:30 +01:00
commit eeb5b34645
Signed by untrusted user who does not match committer: steven
GPG key ID: 805A28B071DAD84B
15 changed files with 24 additions and 2123 deletions

64
home.nix Normal file
View file

@ -0,0 +1,64 @@
{ config, pkgs, ... }:
{
home.username = "steven";
home.homeDirectory = "/home/steven";
home.stateVersion = "25.11"; # Please read the comment before changing.
home.packages = with pkgs; [
];
home.file = {
};
home.sessionVariables = {
QT_QPA_PLATFORMTHEME = "gtk3";
PATH = "$PATH:/home/steven/.local/share/JetBrains/Toolbox/scripts/";
};
programs = {
home-manager.enable = true;
fish.enable = true;
zoxide.enable = true;
starship = {
enable = true;
enableFishIntegration = true;
settings = {
format = "$username@$hostname: $character";
right_format = "$directory$git_status$git_branch";
hostname = {
ssh_only = false;
style = "bold blue dimmed";
format = "[$hostname]($style)";
};
username = {
show_always = true;
format = "[$user]($style)";
};
directory = {
fish_style_pwd_dir_length = 4;
};
sudo = {
style = "bold green";
symbol = "SUDO";
disabled = false;
};
};
};
neovim = {
enable = true;
viAlias = true;
vimAlias = true;
plugins = with pkgs.vimPlugins; [
oil-nvim
nvim-colorizer-lua
nvim-treesitter
mini-nvim
plenary-nvim
telescope-nvim
gitsigns-nvim
vim-airline
nvim-web-devicons
vim-startify
nvim-lspconfig
];
extraLuaConfig = builtins.readFile ./neovim/init.lua;
};
};
}