mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
24 lines
693 B
Nix
24 lines
693 B
Nix
{ config, pkgs, ... }: {
|
|
home.stateVersion = "25.05";
|
|
home.packages = with pkgs; [
|
|
age
|
|
home-manager
|
|
sops
|
|
ssh-to-age
|
|
];
|
|
|
|
# home-manager switch --flake ~/repos/dots
|
|
programs.zsh.shellAliases = {
|
|
nixdiff = "cd ~/repos/dots && home-manager build --flake . && nvd diff /run/current-system result";
|
|
nixup = "home-manager switch --flake ~/repos/dots";
|
|
};
|
|
|
|
sops = {
|
|
age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
|
|
defaultSopsFile = ./secrets.yaml;
|
|
secrets = {
|
|
local_git_config.path = "${config.home.homeDirectory}/.gitconfig-local";
|
|
local_private_env.path = "${config.home.homeDirectory}/.private-env";
|
|
};
|
|
};
|
|
}
|