nixcfg/homes/x86_64-linux/harald@sgx-azure/default.nix
Harald Hoyer b453062c57 refactor: simplify Nix module inputs and update configurations
Simplified input argument structures across multiple Nix modules by removing unnecessary bindings and standardizing formats. Enabled `system.primaryUser` setting and updated PAM configuration for sudo touch ID authentication. Removed deprecated or unused configurations, including user fields in metacfg and outdated options in some modules.
2025-05-27 13:12:18 +02:00

39 lines
854 B
Nix

{ config
, ...
}:
{
home = {
username = "harald";
homeDirectory = "/home/${config.home.username}";
stateVersion = "23.11"; # Please read the comment before changing.
sessionPath = [ "$HOME/bin" ];
};
nix.settings = {
substituters = [
"https://cache.nixos.org"
"https://attic.teepot.org/tee-pot"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg="
];
};
metacfg = {
cli-apps = {
bash.enable = true;
fish.enable = true;
neovim.enable = false;
tmux.enable = true;
bat.enable = true;
starship.enable = true;
home-manager.enable = true;
};
tools = {
git.enable = true;
direnv.enable = true;
ssh.enable = true;
};
};
}