nixos/homes/josh/home.nix

49 lines
954 B
Nix

{
lib,
pkgs,
profile,
...
}:
with lib;
{
imports = [
../../modules/homes
../../modules/options
../../profiles/${profile}
];
modules.zsh.enable = true;
modules.shell.defaultShell = "zsh";
home = {
username = "josh";
homeDirectory = "/home/josh";
stateVersion = "25.11";
packages = with pkgs; [
tldr
];
};
# Let Home Manager install and manage itself
programs.home-manager.enable = true;
nix = {
package = mkDefault pkgs.nix;
settings = {
allowed-users = [ "josh" ];
experimental-features = [
"nix-command"
"flakes"
];
extra-substituters = [
"https://walker.cachix.org"
"https://walker-git.cachix.org"
];
extra-trusted-public-keys = [
"walker.cachix.org-1:fG8q+uAaMqhsMxWjwvk0IMb4mFPFLqHjuvfwQxE4oJM="
"walker-git.cachix.org-1:vmC0ocfPWh0S/vRAQGtChuiZBTAe4wiKDeyyXM0/7pM="
];
};
};
}