dotfiles/home/Docker.nix

27 lines
637 B
Nix
Raw Normal View History

2024-06-21 14:03:01 +02:00
{ inputs, config, pkgs, ... }:
{
home.username = "root";
2024-06-21 14:08:04 +02:00
home.homeDirectory = "/root";
2024-06-21 14:03:01 +02:00
imports = [
(import ./utils/common.nix { inherit inputs config pkgs; })
];
2024-06-21 14:56:54 +02:00
home.packages = with pkgs; [
micromamba
];
2024-06-21 14:03:01 +02:00
home.sessionVariables = {
LANG = "en_US.UTF-8";
XDG_RUNTIME_DIR = "/run/user/$(id -u)";
2024-06-21 14:56:54 +02:00
MAMBA_ROOT_PREFIX = "/root/.micromamba";
2024-06-21 14:03:01 +02:00
};
2024-06-21 14:56:54 +02:00
programs.zsh.initExtra = pkgs.lib.mkForce ''
eval "$(micromamba shell hook -s zsh)"
2024-06-21 15:28:06 +02:00
source ~/.nix-profile/etc/profile.d/hm-session-vars.sh
2024-06-21 14:56:54 +02:00
'';
2024-06-21 15:26:24 +02:00
programs.zsh.initExtraFirst = ''
export LOCALE_ARCHIVE="/usr/lib/locale/locale-archive"
'';
2024-06-21 14:03:01 +02:00
}