Evie Litherland-Smith
b102f9e209
Reduce complexity and in flake.nix and be more efficient in re-using things Removed some reduandant files in home/ and tidied up the structure somewhat Moved things from desktop, gui, etc... to top level Changed env to shell, indiv shell expressions import relevant others
27 lines
568 B
Nix
27 lines
568 B
Nix
{pkgs, ...}: let
|
|
username = "tux";
|
|
homeDirectory = "/Users/${username}";
|
|
in {
|
|
imports = [
|
|
../../home/shell/zsh.nix
|
|
../../home/git/personal.nix
|
|
../../home/ssh/personal.nix
|
|
../../home/wezterm.nix
|
|
];
|
|
home = {
|
|
inherit username homeDirectory;
|
|
stateVersion = "23.05";
|
|
packages = [pkgs.gcc];
|
|
};
|
|
programs = {
|
|
home-manager.enable = true;
|
|
zsh = {
|
|
sessionVariables.CC = "${pkgs.gcc}/bin/gcc";
|
|
envExtra = ''
|
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
'';
|
|
};
|
|
};
|
|
services.syncthing.enable = true;
|
|
}
|