home manager file for chunk

This commit is contained in:
cy 2024-12-13 22:11:51 -05:00
parent e0533f2445
commit d2ebf2c8cb
2 changed files with 44 additions and 21 deletions

44
nix/home/yt/chunk.nix Normal file
View file

@ -0,0 +1,44 @@
{
config,
pkgs,
lib,
inputs,
outputs,
...
}: {
home = {
username = "yt";
homeDirectory = "/home/yt";
stateVersion = "24.05";
};
programs.home-manager.enable = true;
systemd.user.startServices = "sd-switch";
programs.git = {
enable = true;
userName = "cy";
userEmail = "hi@cything.io";
delta.enable = true;
};
programs.neovim.enable = true;
home.packages = with pkgs; [
fzf
eza
zoxide
delta
lua-language-server
vim-language-server
python312Packages.python-lsp-server
nixd
gopls
bash-language-server
llvmPackages_19.clang-tools
rust-analyzer
yt-dlp
gnumake
btop
];
}

View file

@ -64,23 +64,6 @@ in {
extraGroups = [ "wheel" "networkmanager" "docker"]; extraGroups = [ "wheel" "networkmanager" "docker"];
openssh.authorizedKeys.keys = openssh.authorizedKeys.keys =
[ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPdhAQYy0+vS+QmyCd0MAbqbgzyMGcsuuFyf6kg2yKge yt@ytlinux" ]; [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPdhAQYy0+vS+QmyCd0MAbqbgzyMGcsuuFyf6kg2yKge yt@ytlinux" ];
packages = with pkgs; [
fzf
eza
zoxide
delta
lua-language-server
vim-language-server
python312Packages.python-lsp-server
nixd
gopls
bash-language-server
llvmPackages_19.clang-tools
rust-analyzer
yt-dlp
gnumake
hedgedoc
];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
users.users.root.openssh.authorizedKeys.keys = users.users.root.openssh.authorizedKeys.keys =
@ -94,7 +77,6 @@ in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim vim
neovim
wget wget
curl curl
tree tree
@ -102,9 +84,6 @@ in {
tmux tmux
borgbackup borgbackup
rclone rclone
restic
htop
btop
file file
sops sops
age age