Fri Jun 21 05:25:14 PM CEST 2024
This commit is contained in:
parent
88f0f6d22d
commit
a7ba2910b8
|
@ -1,23 +1,20 @@
|
|||
{ inputs, config, pkgs, ... }:
|
||||
{
|
||||
home.username = "root";
|
||||
home.homeDirectory = "/root";
|
||||
home.username = "user";
|
||||
home.homeDirectory = "/home/user";
|
||||
|
||||
imports = [
|
||||
(import ./utils/common.nix { inherit inputs config pkgs; })
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
python312Packages.pytorchWithCuda
|
||||
];
|
||||
# home.packages = with pkgs; [
|
||||
# ];
|
||||
|
||||
home.sessionVariables = {
|
||||
LANG = "en_US.UTF-8";
|
||||
XDG_RUNTIME_DIR = "/run/user/$(id -u)";
|
||||
MAMBA_ROOT_PREFIX = "/root/.micromamba";
|
||||
};
|
||||
programs.zsh.initExtra = pkgs.lib.mkForce ''
|
||||
eval "$(micromamba shell hook -s zsh)"
|
||||
source ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
||||
'';
|
||||
programs.zsh.initExtraFirst = ''
|
||||
|
|
Loading…
Reference in New Issue