NOflake/users/tao/home.nix
2024-02-12 12:15:55 -08:00

74 lines
1.5 KiB
Nix

{ pkgs, inputs, ... }: {
imports = [
(import ./helix.nix { inherit pkgs inputs; })
# ./hyprland.nix
];
programs = {
jujutsu = {
enable = true;
settings = {
user = {
name = "Tao Tien";
email = "29749622+taotien@users.noreply.github.com";
};
ui =
{
default-command = "log";
};
};
};
git = {
enable = true;
userName = "Tao Tien";
userEmail = "29749622+taotien@users.noreply.github.com";
};
nushell = {
enable = true;
configFile.source = ./config.nu;
envFile.source = ./env.nu;
};
starship = {
enable = true;
enableNushellIntegration = true;
settings = builtins.fromTOML (builtins.readFile ./starship.toml);
};
wezterm = {
enable = true;
extraConfig = builtins.readFile ./wezterm.lua;
};
zellij = {
enable = true;
settings = { };
};
zoxide = {
enable = true;
enableNushellIntegration = true;
};
};
home.file.".cargo/config.toml".text = ''
[build]
target = "x86_64-unknown-linux-musl"
rustc-wrapper = "${pkgs.sccache}/bin/sccache"
[provile.dev]
debug = 0
strip = "debuginfo"
[target.x86-unknown-linux-musl]
linker = "clang"
rustflag = ["-C", "link-arg=ld-path=${pkgs.mold}/bin/mold"]
'';
home.username = "tao";
home.homeDirectory = "/home/tao";
home.stateVersion = "23.11";
}