NOflake/users/tao/home.nix

38 lines
747 B
Nix
Raw Normal View History

2024-02-01 09:41:23 -08:00
let
enablePrograms = programs: builtins.mapAttrs (_: program: { enable = true; }) programs;
in
2024-01-30 09:41:31 -08:00
{
2024-01-30 11:08:42 -08:00
imports = [
./helix.nix
];
2024-02-01 09:41:23 -08:00
programs = enablePrograms {
git = {
userName = "Tao Tien";
userEmail = "29749622+taotien@users.noreply.github.com";
};
2024-01-30 10:46:26 -08:00
2024-02-01 09:41:23 -08:00
nushell = {
configFile.source = ./config.nu;
envFile.source = ./env.nu;
};
2024-01-30 10:46:26 -08:00
2024-02-01 09:41:23 -08:00
starshell = {
enableNuShellIntegration = true;
settings = builtins.fromTOML (builtins.readFile ./starship.nix);
2024-02-01 08:56:18 -08:00
};
2024-02-01 09:41:23 -08:00
wezterm = {
extraConfig = builtins.readFile ./wezterm.lua;
};
2024-02-01 08:56:18 -08:00
2024-02-01 09:41:23 -08:00
zoxide = {
enableNushellIntegration = true;
};
2024-02-01 08:56:18 -08:00
};
2024-01-30 09:41:31 -08:00
home.username = "tao";
home.homeDirectory = "/home/tao";
home.stateVersion = "23.11";
}