NOflake/users/tao/home.nix

45 lines
894 B
Nix
Raw Normal View History

2024-02-01 19:24:36 -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 14:27:36 -08:00
./hyprland.nix
2024-01-30 11:08:42 -08:00
];
2024-02-01 10:00:03 -08:00
# programs = enablePrograms {
programs = {
2024-02-01 09:41:23 -08:00
git = {
2024-02-01 10:00:03 -08:00
enable = true;
2024-02-01 09:41:23 -08:00
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 = {
2024-02-01 10:00:03 -08:00
enable = true;
2024-02-01 09:41:23 -08:00
configFile.source = ./config.nu;
envFile.source = ./env.nu;
};
2024-01-30 10:46:26 -08:00
2024-02-01 10:00:03 -08:00
starship = {
enable = true;
enableNushellIntegration = true;
settings = builtins.fromTOML (builtins.readFile ./starship.toml);
2024-02-01 08:56:18 -08:00
};
2024-02-01 09:41:23 -08:00
wezterm = {
2024-02-01 10:00:03 -08:00
enable = true;
2024-02-01 09:41:23 -08:00
extraConfig = builtins.readFile ./wezterm.lua;
};
2024-02-01 08:56:18 -08:00
2024-02-01 09:41:23 -08:00
zoxide = {
2024-02-01 10:00:03 -08:00
enable = true;
2024-02-01 09:41:23 -08:00
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";
}