31 lines
644 B
Nix
31 lines
644 B
Nix
{ lib, pkgs, ... }:
|
|
let
|
|
username = "tux";
|
|
homeDirectory = "/Users/${username}";
|
|
in {
|
|
imports = [
|
|
../../home/shell/zsh.nix
|
|
../../home/git
|
|
../../home/ssh
|
|
../../home/tui
|
|
../../home/alacritty
|
|
../../home/emacs
|
|
];
|
|
home = {
|
|
inherit username homeDirectory;
|
|
stateVersion = "23.05";
|
|
packages = with pkgs; [ coreutils-prefixed ];
|
|
};
|
|
programs = {
|
|
home-manager.enable = true;
|
|
zsh = {
|
|
sessionVariables.CC = "${pkgs.gcc}/bin/gcc";
|
|
envExtra = ''
|
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
'';
|
|
};
|
|
emacs.package = pkgs.emacs29;
|
|
};
|
|
services.syncthing.enable = true;
|
|
}
|