Initialized repository
This commit is contained in:
commit
f9e05c8fbe
5 changed files with 363 additions and 0 deletions
78
home.nix
Normal file
78
home.nix
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.username = "lunita";
|
||||
home.homeDirectory = "/home/lunita";
|
||||
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
wget
|
||||
tree
|
||||
htop
|
||||
irssi
|
||||
];
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
home.file = {
|
||||
".config/nvim/init.lua" .source = dots/nvim/init.lua;
|
||||
};
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user.name = "lulusilly";
|
||||
user.email = "lunita@puppygirl.onl";
|
||||
settings.alias = {
|
||||
a = "add .";
|
||||
c = "clone";
|
||||
ci = "commit -m";
|
||||
pu = "push origin main";
|
||||
pm = "push origin master";
|
||||
s = "status";
|
||||
co = "checkout";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
initContent = ''
|
||||
bindkey -r "^L"
|
||||
'';
|
||||
|
||||
shellAliases = {
|
||||
upd = "sudo nixos-rebuild switch --flake ~/.nix#prometheus";
|
||||
l = "ls -al";
|
||||
v = "nvim";
|
||||
c = "clear";
|
||||
};
|
||||
|
||||
history.size = 10000;
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" ];
|
||||
theme = "lambda";
|
||||
};
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue