2023-07-26 15:45:24 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
2023-07-16 17:35:36 +01:00
|
|
|
username = "tux";
|
|
|
|
homeDirectory = "/Users/${username}";
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
../../home/shell/zsh.nix
|
2023-08-18 12:19:52 +01:00
|
|
|
../../home/git
|
|
|
|
../../home/ssh
|
|
|
|
../../home/tui
|
|
|
|
../../home/alacritty
|
|
|
|
../../home/emacs/dependencies.nix
|
2023-07-16 17:35:36 +01:00
|
|
|
];
|
|
|
|
home = {
|
|
|
|
inherit username homeDirectory;
|
|
|
|
stateVersion = "23.05";
|
2023-08-18 12:19:52 +01:00
|
|
|
packages = with pkgs; [ emacs28NativeComp coreutils-prefixed ];
|
2023-07-16 17:35:36 +01:00
|
|
|
};
|
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
zsh = {
|
|
|
|
sessionVariables.CC = "${pkgs.gcc}/bin/gcc";
|
|
|
|
envExtra = ''
|
|
|
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
services.syncthing.enable = true;
|
|
|
|
}
|