2023-08-28 12:48:56 +01:00
|
|
|
{ lib, pkgs, ... }:
|
2023-07-26 15:45:24 +01:00
|
|
|
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
|
2023-08-28 12:48:56 +01:00
|
|
|
../../home/emacs
|
2023-07-16 17:35:36 +01:00
|
|
|
];
|
|
|
|
home = {
|
|
|
|
inherit username homeDirectory;
|
|
|
|
stateVersion = "23.05";
|
2023-08-28 12:48:56 +01:00
|
|
|
packages = with pkgs; [ 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)"
|
|
|
|
'';
|
|
|
|
};
|
2023-08-28 12:48:56 +01:00
|
|
|
emacs.package = pkgs.emacs29;
|
2023-07-16 17:35:36 +01:00
|
|
|
};
|
|
|
|
services.syncthing.enable = true;
|
|
|
|
}
|