move home manager configuration to machine

This commit is contained in:
2025-11-04 02:38:41 +08:00
parent f4cfe371f7
commit 2a395c3d3a
6 changed files with 43 additions and 57 deletions

View File

@@ -0,0 +1,51 @@
{
_class,
config,
lib,
pkgs,
...
}:
let
keys = import ../../../keys.nix;
config = {
nut = {
git = {
enable = true;
gpgProgram = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
signingKey = keys.user.yadunut;
};
zsh.enable = true;
neovim.enable = true;
};
home.username = "yadunut";
home.packages = [
pkgs.entr
pkgs.jq
pkgs.just
pkgs.rsync
pkgs.codex
pkgs.dive
pkgs.cachix
pkgs.ouch
pkgs.nil
pkgs.nixd
pkgs.claude-code
pkgs.codex
pkgs.amp-cli
];
nixpkgs.config.allowUnfree = true;
programs.home-manager.enable = true;
home.stateVersion = "25.05";
};
in
{
imports = [
config
../../../modules/home/git
../../../modules/home/zsh
../../../modules/home/neovim
];
}