nixos/hosts/Monarch/home.nix

33 lines
811 B
Nix
Raw Normal View History

{ pkgs, user, shell ? "zsh", ... }:
let homeDirectory = "/Users/${user}";
in {
imports = [
../../home/shell/${shell}.nix
../../home/accounts/default.nix
../../home/pass/default.nix
../../home/git/default.nix
../../home/ssh/default.nix
../../home/tui/default.nix
../../home/tmux/default.nix
../../home/alacritty/default.nix
../../home/emacs/default.nix
];
home = {
inherit homeDirectory;
username = user;
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;
}