From a183d81671ad60787cacb307af084b5d62bab56c Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Fri, 8 Dec 2023 08:38:39 +0100 Subject: [PATCH] background task stuff --- modules/shell/nu.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/shell/nu.nix b/modules/shell/nu.nix index c09f5dc..f05d808 100644 --- a/modules/shell/nu.nix +++ b/modules/shell/nu.nix @@ -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;