27 lines
568 B
Nix
27 lines
568 B
Nix
|
{pkgs, ...}: let
|
||
|
username = "tux";
|
||
|
homeDirectory = "/Users/${username}";
|
||
|
in {
|
||
|
imports = [
|
||
|
../../home/shell/zsh.nix
|
||
|
../../home/git/personal.nix
|
||
|
../../home/ssh/personal.nix
|
||
|
../../home/wezterm.nix
|
||
|
];
|
||
|
home = {
|
||
|
inherit username homeDirectory;
|
||
|
stateVersion = "23.05";
|
||
|
packages = [pkgs.gcc];
|
||
|
};
|
||
|
programs = {
|
||
|
home-manager.enable = true;
|
||
|
zsh = {
|
||
|
sessionVariables.CC = "${pkgs.gcc}/bin/gcc";
|
||
|
envExtra = ''
|
||
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
services.syncthing.enable = true;
|
||
|
}
|