mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-12-23 01:35:51 +01:00
29 lines
839 B
Nix
29 lines
839 B
Nix
{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;
|
|
configFile.source = ../../other/config.nu;
|
|
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;
|
|
programs.carapace.enableNushellIntegration = true;
|
|
programs.direnv.enableNushellIntegration = true;
|
|
};
|
|
}
|