nixos/hosts/Monarch/home.nix

30 lines
661 B
Nix
Raw Normal View History

{ pkgs, ... }:
let
username = "tux";
homeDirectory = "/Users/${username}";
in {
imports = [
../../home/shell/zsh.nix
../../home/git/default.nix
../../home/ssh/default.nix
../../home/tui/default.nix
../../home/alacritty/macos.nix
../../home/emacs/default.nix
];
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)"
'';
};
};
services.syncthing.enable = true;
}