This commit is contained in:
randogoth 2026-02-09 20:15:44 +02:00
parent c754230d3f
commit 078c90c462
2 changed files with 8 additions and 11 deletions

View file

@ -1,9 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
UID="$(id -u)"
USER_ID="$(id -u)"
USER_NAME="$(id -un)"
USER_BUS="/run/user/$UID/bus"
USER_BUS="/run/user/$USER_ID/bus"
HM_DIR="$HOME/.config/home-manager"
SKEL_DIR="/etc/skel/.config/home-manager"
EXPECTED_USER="${NANUQSAURUS_ADMIN_USER:-}"

View file

@ -36,10 +36,10 @@
skip_workdir = "1";
};
containers = {
ubuntu = {
image = "ubuntu:latest";
entry = true;
};
# ubuntu = {
# image = "ubuntu:latest";
# entry = true;
# };
};
};
home-manager.enable = true;
@ -82,7 +82,7 @@
# alacritty # GPU accelerated terminal emulator
# kitty # GPU accelerated terminal emulator
jetbrains-toolbox # fresh versions of Android Studio and other tools
# jetbrains-toolbox # fresh versions of Android Studio and other tools
# devpod # open-source code spaces
pods # Podman desktop application
@ -95,15 +95,12 @@
'';
};
xdg.userDirs = {
enable = true;
};
home.sessionVariables = {
# you can change the default terminal and editor here
TERMINAL = "${pkgs.ptyxis}/bin/ptyxis";
DEFAULT_TERMINAL = "${pkgs.ptyxis}/bin/ptyxis";
EDITOR = "micro";
# Enables distinct home folders for each distrobox in ~/distrobox
DBX_CONTAINER_HOME_PREFIX = "$HOME/distrobox";
};