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, ... }:
|
{ inputs, config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.username = "root";
|
home.username = "user";
|
||||||
home.homeDirectory = "/root";
|
home.homeDirectory = "/home/user";
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
(import ./utils/common.nix { inherit inputs config pkgs; })
|
(import ./utils/common.nix { inherit inputs config pkgs; })
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
# home.packages = with pkgs; [
|
||||||
python312Packages.pytorchWithCuda
|
# ];
|
||||||
];
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
LANG = "en_US.UTF-8";
|
LANG = "en_US.UTF-8";
|
||||||
XDG_RUNTIME_DIR = "/run/user/$(id -u)";
|
XDG_RUNTIME_DIR = "/run/user/$(id -u)";
|
||||||
MAMBA_ROOT_PREFIX = "/root/.micromamba";
|
|
||||||
};
|
};
|
||||||
programs.zsh.initExtra = pkgs.lib.mkForce ''
|
programs.zsh.initExtra = pkgs.lib.mkForce ''
|
||||||
eval "$(micromamba shell hook -s zsh)"
|
|
||||||
source ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
source ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
||||||
'';
|
'';
|
||||||
programs.zsh.initExtraFirst = ''
|
programs.zsh.initExtraFirst = ''
|
||||||
|
|
Loading…
Reference in New Issue