Files
nix/users/blake/home_darwin.nix
T
2026-04-20 10:20:35 -05:00

43 lines
822 B
Nix

{
config,
lib,
pkgs,
inputs,
...
}:
{
imports = [
inputs.sops-nix.homeManagerModules.sops
#./dots/core
];
# set home manager config based on system type
home = {
username = "bhelderman";
homeDirectory = "/Users/bhelderman";
enableNixpkgsReleaseCheck = false;
# cross party general packages here : )
stateVersion = "25.05";
packages = with pkgs; [
fastfetch
ripgrep
p7zip
sops
usbutils
];
};
# needed for macos, linux don't mind
programs.home-manager.enable = true;
nixpkgs.config = {
allowUnfree = true;
};
# set up seperate key file just for me
sops = {
defaultSopsFile = ./secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
};
}