dotfiles/home/Docker.nix

25 lines
596 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 = {
NIX_PATH = "${config.xdg.stateHome}/nix/profiles/channels/";
LANG = "en_US.UTF-8";
2024-06-21 14:56:54 +02:00
LOCALE_ARCHIVE = "/usr/lib/locale/locale-archive";
2024-06-21 14:03:01 +02:00
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 14:03:01 +02:00
}