mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-25 22:38:44 +01:00
background task stuff
This commit is contained in:
parent
09c6f7c8b2
commit
a183d81671
|
@ -1,5 +1,15 @@
|
||||||
{config, ...}: {
|
{config, ...}: {
|
||||||
home-manager.users.jade = {pkgs, ...}: {
|
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 = {
|
programs.nushell = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = config.users.defaultUserShell;
|
package = config.users.defaultUserShell;
|
||||||
|
@ -7,6 +17,7 @@
|
||||||
envFile.source = ../../other/env.nu;
|
envFile.source = ../../other/env.nu;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
source ${pkgs.nu_scripts}/share/nu_scripts/modules/nix/nix.nu;
|
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.starship.enableNushellIntegration = true;
|
||||||
|
|
Loading…
Reference in a new issue