Compare commits
6 commits
3daa272eb4
...
93f0dcc7b5
| Author | SHA1 | Date | |
|---|---|---|---|
| 93f0dcc7b5 | |||
| 9f0e03b29c | |||
| 46b255fdcf | |||
| dd68c27f8d | |||
| c91527e431 | |||
| de7492e733 |
3 changed files with 32 additions and 21 deletions
|
|
@ -1,24 +1,7 @@
|
||||||
{ config, lib, pkgs, pkgs-unstable, ... }:
|
{ config, lib, pkgs, pkgs-unstable, ... }:
|
||||||
let
|
let
|
||||||
conda_init = shell: ''
|
conda_init = shell: ''
|
||||||
# >>> conda initialize >>>
|
eval "$(${pkgs.micromamba}/bin/micromamba shell hook --shell ${shell})"
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
|
||||||
__conda_setup="$(${config.xdg.dataHome}/miniconda3/bin/conda shell.${shell} 'hook' 2> /dev/null)"
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
eval "$__conda_setup"
|
|
||||||
else
|
|
||||||
if [ -f "${config.xdg.dataHome}/miniconda3/etc/profile.d/conda.sh" ]; then
|
|
||||||
. "${config.xdg.dataHome}/miniconda3/etc/profile.d/conda.sh"
|
|
||||||
else
|
|
||||||
export PATH="${config.xdg.dataHome}/miniconda3/bin:$PATH"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
unset __conda_setup
|
|
||||||
|
|
||||||
if [ -f "${config.xdg.dataHome}/miniconda3/etc/profile.d/mamba.sh" ]; then
|
|
||||||
. "${config.xdg.dataHome}/miniconda3/etc/profile.d/mamba.sh"
|
|
||||||
fi
|
|
||||||
# <<< conda initialize <<<
|
|
||||||
|
|
||||||
'';
|
'';
|
||||||
nd_bash_function = ''
|
nd_bash_function = ''
|
||||||
|
|
@ -33,6 +16,7 @@ in {
|
||||||
file = { ".p10k.zsh".source = ./../dotfiles/p10k.zsh; };
|
file = { ".p10k.zsh".source = ./../dotfiles/p10k.zsh; };
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
act
|
act
|
||||||
|
btop
|
||||||
cowsay
|
cowsay
|
||||||
earthly
|
earthly
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
|
@ -47,7 +31,9 @@ in {
|
||||||
jq
|
jq
|
||||||
julia-bin
|
julia-bin
|
||||||
lynx
|
lynx
|
||||||
|
micromamba
|
||||||
most
|
most
|
||||||
|
nextflow
|
||||||
nil
|
nil
|
||||||
nixd
|
nixd
|
||||||
nixfmt-classic
|
nixfmt-classic
|
||||||
|
|
@ -61,10 +47,11 @@ in {
|
||||||
];
|
];
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
PAGER = "most";
|
PAGER = "most";
|
||||||
|
MAMBA_ROOT_PREFIX = "${config.xdg.dataHome}/micromamba";
|
||||||
NXF_HOME = "${config.xdg.dataHome}/nextflow";
|
NXF_HOME = "${config.xdg.dataHome}/nextflow";
|
||||||
NXF_CACHE = "${config.xdg.cacheHome}/nextflow";
|
NXF_CACHE = "${config.xdg.cacheHome}/nextflow";
|
||||||
NXF_CONDA_CACHEDIR = "$NXF_CACHE/conda";
|
NXF_CONDA_CACHEDIR = "${config.xdg.cacheHome}/nextflow/conda";
|
||||||
NXF_SINGULARITY_CACHEDIR = "$NXF_CACHE/singularity";
|
NXF_SINGULARITY_CACHEDIR = "${config.xdg.cacheHome}/nextflow/singularity";
|
||||||
JULIA_DEPOT_PATH = "${config.xdg.dataHome}/julia:";
|
JULIA_DEPOT_PATH = "${config.xdg.dataHome}/julia:";
|
||||||
JULIA_PKG_USE_CLI_GIT = "true";
|
JULIA_PKG_USE_CLI_GIT = "true";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -58,4 +58,28 @@
|
||||||
pinentryPackage = pkgs.pinentry-qt;
|
pinentryPackage = pkgs.pinentry-qt;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
xdg = {
|
||||||
|
configFile = {
|
||||||
|
"nextflow.config".text = ''
|
||||||
|
params {
|
||||||
|
config_profile_description = 'harmony Asahi Linux local profile'
|
||||||
|
config_profile_contact = 'Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>'
|
||||||
|
config_profile_url = null
|
||||||
|
|
||||||
|
max_memory = 12.GB
|
||||||
|
max_cpus = 12
|
||||||
|
max_time = 7.d
|
||||||
|
}
|
||||||
|
|
||||||
|
apptainer {
|
||||||
|
enabled = true
|
||||||
|
autoMounts = true
|
||||||
|
}
|
||||||
|
|
||||||
|
process {
|
||||||
|
executor = 'local'
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
assistant = {
|
assistant = {
|
||||||
default_model = {
|
default_model = {
|
||||||
provider = "zed.dev";
|
provider = "zed.dev";
|
||||||
model = "claude-3-5-sonnet-latest";
|
model = "claude-3-7-sonnet-latest";
|
||||||
};
|
};
|
||||||
version = "2";
|
version = "2";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue