From d2ebf2c8cbfcf4943fedced4ea49c6f964119796 Mon Sep 17 00:00:00 2001 From: cy Date: Fri, 13 Dec 2024 22:11:51 -0500 Subject: [PATCH] home manager file for chunk --- nix/home/yt/chunk.nix | 44 +++++++++++++++++++++++++++++++++++++ nix/hosts/chunk/default.nix | 21 ------------------ 2 files changed, 44 insertions(+), 21 deletions(-) create mode 100644 nix/home/yt/chunk.nix diff --git a/nix/home/yt/chunk.nix b/nix/home/yt/chunk.nix new file mode 100644 index 0000000..3f406a5 --- /dev/null +++ b/nix/home/yt/chunk.nix @@ -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 + ]; +} diff --git a/nix/hosts/chunk/default.nix b/nix/hosts/chunk/default.nix index bb6b0c6..ac8c9f6 100644 --- a/nix/hosts/chunk/default.nix +++ b/nix/hosts/chunk/default.nix @@ -64,23 +64,6 @@ in { extraGroups = [ "wheel" "networkmanager" "docker"]; openssh.authorizedKeys.keys = [ "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; }; users.users.root.openssh.authorizedKeys.keys = @@ -94,7 +77,6 @@ in { environment.systemPackages = with pkgs; [ vim - neovim wget curl tree @@ -102,9 +84,6 @@ in { tmux borgbackup rclone - restic - htop - btop file sops age