2024-02-24 02:30:17 -08:00
|
|
|
{
|
|
|
|
|
pkgs,
|
|
|
|
|
inputs,
|
2024-04-02 11:17:11 -07:00
|
|
|
lib,
|
2024-02-24 02:30:17 -08:00
|
|
|
...
|
2024-03-17 00:22:50 -07:00
|
|
|
}: let
|
|
|
|
|
cargoFile = builtins.readFile ./cargo.toml;
|
|
|
|
|
cargoConfig = builtins.replaceStrings ["path/to/sccache"] ["${pkgs.sccache}/bin/sccache"] cargoFile;
|
|
|
|
|
in {
|
2024-01-30 11:08:42 -08:00
|
|
|
imports = [
|
2024-02-24 02:30:17 -08:00
|
|
|
(import ./helix.nix {inherit pkgs inputs;})
|
2024-03-20 17:29:48 -07:00
|
|
|
# ./plasma.nix
|
2024-03-23 01:24:31 -07:00
|
|
|
# ./firefox.nix
|
2024-01-30 11:08:42 -08:00
|
|
|
];
|
|
|
|
|
|
2024-03-17 00:22:50 -07:00
|
|
|
home.file.".cargo/config.toml".text = cargoConfig;
|
2024-04-02 10:32:20 -07:00
|
|
|
home.file."autostart" = {
|
|
|
|
|
source = ./autostart;
|
2024-04-01 17:38:14 -07:00
|
|
|
recursive = true;
|
|
|
|
|
};
|
2024-03-16 18:54:05 -07:00
|
|
|
|
2024-02-01 10:00:03 -08:00
|
|
|
programs = {
|
2024-04-02 10:40:35 -07:00
|
|
|
bottom = {
|
|
|
|
|
enable = true;
|
|
|
|
|
settings = {
|
|
|
|
|
battery =
|
2024-04-02 11:17:11 -07:00
|
|
|
if lib.strings.hasPrefix "NOlaptop" (builtins.readFile /etc/hostname)
|
2024-04-02 10:40:35 -07:00
|
|
|
then true
|
|
|
|
|
else false;
|
|
|
|
|
hide_time = true;
|
|
|
|
|
enable_gpu = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2024-02-06 11:08:27 -08:00
|
|
|
jujutsu = {
|
|
|
|
|
enable = true;
|
|
|
|
|
settings = {
|
|
|
|
|
user = {
|
|
|
|
|
name = "Tao Tien";
|
|
|
|
|
email = "29749622+taotien@users.noreply.github.com";
|
|
|
|
|
};
|
2024-02-24 02:30:17 -08:00
|
|
|
ui = {
|
|
|
|
|
default-command = "log";
|
|
|
|
|
};
|
2024-02-06 11:08:27 -08:00
|
|
|
};
|
2024-02-22 00:14:23 -08:00
|
|
|
package = inputs.jujutsu.packages.${pkgs.system}.default;
|
2024-02-06 11:08:27 -08:00
|
|
|
};
|
|
|
|
|
|
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-03-15 12:47:44 -07:00
|
|
|
configFile.source = ./nushell/config.nu;
|
|
|
|
|
envFile.source = ./nushell/env.nu;
|
|
|
|
|
extraConfig = builtins.readFile ./nushell/stuff.nu;
|
2024-02-01 09:41:23 -08:00
|
|
|
};
|
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-03-16 18:54:05 -07:00
|
|
|
taskwarrior = {
|
|
|
|
|
enable = true;
|
|
|
|
|
};
|
2024-03-15 12:47:44 -07: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-03-15 21:39:09 -07:00
|
|
|
# zellij = {
|
|
|
|
|
# enable = true;
|
|
|
|
|
# settings = {};
|
|
|
|
|
# };
|
2024-02-11 02:29:23 -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-03-16 18:54:05 -07:00
|
|
|
services = {
|
|
|
|
|
pueue = {
|
|
|
|
|
enable = true;
|
|
|
|
|
settings = {};
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-02-24 14:51:33 -08:00
|
|
|
|
2024-01-30 09:41:31 -08:00
|
|
|
home.username = "tao";
|
|
|
|
|
home.homeDirectory = "/home/tao";
|
|
|
|
|
home.stateVersion = "23.11";
|
|
|
|
|
}
|