Restructure Darwin configuration

So far, this is just based on mightymac. The other devices will be
updated soon.
This commit is contained in:
Gene Liverman 2024-12-07 23:12:52 -05:00
parent ce3a1b5e20
commit f95cc09e13
45 changed files with 14 additions and 18 deletions

View file

@ -0,0 +1,30 @@
{ username, ... }: {
home.stateVersion = "23.11";
imports = [
../home.nix
../../common
../../common/all-gui.nix
];
programs = {
go = {
enable = true;
goPath = "go";
};
k9s.enable = true;
zsh = {
initExtra = ''
eval $(brew shellenv)
'';
};
};
sops = {
defaultSopsFile = ./secrets.yaml;
secrets = {
i2cssh_config.path = "/Users/${username}/.i2csshrc";
local_git_config.path = "/Users/${username}/.gitconfig-local";
local_private_env.path = "/Users/${username}/.private-env";
};
};
}