background task stuff

This commit is contained in:
Schrottkatze 2023-12-08 08:38:39 +01:00
parent 09c6f7c8b2
commit a183d81671

View file

@ -1,5 +1,15 @@
{config, ...}: {
home-manager.users.jade = {pkgs, ...}: {
# Needed for nu_scripts background_task
services.pueue = {
enable = true;
settings = {
shared = {
use_unix_socket = true;
};
};
};
home.packages = [pkgs.pueue];
programs.nushell = {
enable = true;
package = config.users.defaultUserShell;
@ -7,6 +17,7 @@
envFile.source = ../../other/env.nu;
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;