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 #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
UID="$(id -u)" USER_ID="$(id -u)"
USER_NAME="$(id -un)" USER_NAME="$(id -un)"
USER_BUS="/run/user/$UID/bus" USER_BUS="/run/user/$USER_ID/bus"
HM_DIR="$HOME/.config/home-manager" HM_DIR="$HOME/.config/home-manager"
SKEL_DIR="/etc/skel/.config/home-manager" SKEL_DIR="/etc/skel/.config/home-manager"
EXPECTED_USER="${NANUQSAURUS_ADMIN_USER:-}" EXPECTED_USER="${NANUQSAURUS_ADMIN_USER:-}"

View file

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