init nix stuff

This commit is contained in:
Zhongheng Liu 2026-01-18 04:18:58 +01:00
commit 83f5134c93
Signed by untrusted user who does not match committer: steven
GPG key ID: 805A28B071DAD84B
5 changed files with 145 additions and 1 deletions

39
home-manager/home.nix Normal file
View file

@ -0,0 +1,39 @@
{ config, pkgs, ... }:
{
home.username = "steven";
home.homeDirectory = "/home/steven";
home.stateVersion = "25.11"; # Please read the comment before changing.
home.packages = [
];
home.file = {
"hmhello.txt".text = ''
hello'';
};
home.sessionVariables = {
QT_QPA_PLATFORMTHEME = "gtk3";
PATH = "$PATH:/home/steven/.local/share/JetBrains/Toolbox/scripts/";
};
programs = {
home-manager.enable = true;
fish.enable = true;
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
];
extraLuaConfig = builtins.readFile ./neovim/init.lua;
};
};
}