init commit
This commit is contained in:
commit
180e80181b
15 changed files with 1018 additions and 0 deletions
46
hosts/nixos/home-default.nix
Normal file
46
hosts/nixos/home-default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ config, pkgs, nixvim, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
nixvim.homeModules.nixvim
|
||||
../../modules/nvim.nix
|
||||
../../modules/tmux.nix
|
||||
../../modules/zsh.nix
|
||||
../../modules/ssh.nix
|
||||
../../modules/git.nix
|
||||
../../modules/lazygit.nix
|
||||
../../modules/btop.nix
|
||||
../../modules/font/home.nix
|
||||
];
|
||||
|
||||
home.username = "yanlin";
|
||||
home.homeDirectory = "/home/yanlin";
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
silent = true;
|
||||
};
|
||||
|
||||
# nixOS-specific alias
|
||||
programs.zsh.shellAliases = {
|
||||
oss = "sudo nixos-rebuild switch --flake ~/.config/nix#$(hostname)";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
httpie
|
||||
gnumake
|
||||
rsync
|
||||
bind # DNS utilities (dig, nslookup, mdig)
|
||||
iputils # Core network tools (ping, traceroute)
|
||||
inetutils # Network utilities (telnet)
|
||||
netcat-gnu # Network connection utility
|
||||
ncdu
|
||||
delta
|
||||
fastfetch
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue