nix-configs/modules/shell/nu.nix

30 lines
843 B
Nix
Raw Permalink Normal View History

{config, ...}: {
home-manager.users.jade = {pkgs, ...}: {
2023-12-08 08:38:39 +01:00
# Needed for nu_scripts background_task
services.pueue = {
enable = true;
settings = {
shared = {
use_unix_socket = true;
};
};
};
2023-12-08 11:49:22 +01:00
home.packages = [
pkgs.pueue
];
programs.nushell = {
enable = true;
package = config.users.defaultUserShell;
configFile.source = ../../other/config.nu;
envFile.source = ../../other/env.nu;
2024-01-22 19:40:10 +01:00
# extraConfig = ''
# source ${pkgs.nu_scripts}/share/nu_scripts/modules/nix/nix.nu;
# use ${pkgs.nu_scripts}/share/nu_scripts/modules/background_task/job.nu;
# '';
};
programs.starship.enableNushellIntegration = true;
programs.carapace.enableNushellIntegration = true;
programs.direnv.enableNushellIntegration = true;
};
}