mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-22 05:14:42 +01:00
background task stuff
This commit is contained in:
parent
09c6f7c8b2
commit
a183d81671
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue