Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
97a38c2
attempt to install nix
capsulecorplab May 2, 2024
7ef2e30
attempt to display stdout & stderr for nix install
capsulecorplab May 14, 2024
9593baf
install nix as single-user (no daemon)
capsulecorplab Mar 7, 2025
12040f5
Create /nix directory and set permission before installing nix (as si…
capsulecorplab Mar 7, 2025
1116efc
set playbook verbosity to -v
capsulecorplab Mar 7, 2025
322bd00
set playbook verbosity to -vv
capsulecorplab Mar 7, 2025
a503a62
set playbook verbosity to -vvv
capsulecorplab Mar 7, 2025
2077537
set bash to print verbose command execution before nix install
capsulecorplab Mar 7, 2025
b280cd5
set playbook verbosity to -vvvv
capsulecorplab Mar 7, 2025
3357c1d
install nix using nix-installer
capsulecorplab Mar 18, 2025
8e20c0c
replace nix installation w/ provizanta.nix (ansible role)
capsulecorplab Nov 16, 2025
ec4e94d
attempt to install nix-bin
capsulecorplab Nov 18, 2025
936cc2a
Get git version
capsulecorplab Nov 18, 2025
11251c7
attempt to install git with nix
capsulecorplab Nov 18, 2025
61baffc
remove staticdev.firefox (ansible role)
capsulecorplab Nov 18, 2025
bec8470
attempt to enable flakes
capsulecorplab Nov 19, 2025
bd478b4
Add kasm-user to nix-users group
capsulecorplab Nov 20, 2025
255c749
Merge branch 'main' into refactor-playbook-to-use-nix
capsulecorplab May 28, 2026
9821994
attempt to install pinned version of git using nix
capsulecorplab May 28, 2026
7bc4748
refactor bash-completion installation using nix
capsulecorplab May 28, 2026
4a4300e
attempt to refactor keychain installation using nix
capsulecorplab May 30, 2026
4586675
temporarily comment out keychain version test
capsulecorplab May 30, 2026
c5948e7
refactor ping installation using nix
capsulecorplab Jun 1, 2026
90c984b
attempt to reinstall voila
capsulecorplab Jun 2, 2026
f370a2f
add tag for install_python_packages
capsulecorplab Jun 3, 2026
e872487
attempt to install pinnned jupyterlab & notebook
capsulecorplab Jun 3, 2026
d4fc85c
attempt to pass --ignore-installed
capsulecorplab Jun 3, 2026
3f7dea4
temporarily comment out foam installation
capsulecorplab Jun 17, 2026
3525cd1
Attempt to reinstall nix using determinate nix installer (in a contai…
capsulecorplab Oct 17, 2026
d0b8529
Attempt to re-install nix with official nix installer (single-user; n…
capsulecorplab Oct 17, 2026
3f7a1d4
Attempt to fix stupid syntax error
capsulecorplab Oct 17, 2026
b079015
revert nix installation to apt-installed nix-bin & configure nix to u…
capsulecorplab Oct 17, 2026
1391251
Attempt to configure nix to use a legacy compatible channel directly …
capsulecorplab Oct 17, 2026
4a55220
Attempt to access nixpkgs from locally cloned package definitions
capsulecorplab Oct 17, 2026
bc3ecd6
remove `nixpkgs.` prefix for packages installed with nix-env
capsulecorplab Oct 17, 2026
10ba233
Update vs code version to 1.91.1*
capsulecorplab Oct 17, 2026
08cef8d
revert to using nix profile for installing packages from nixpkgs
capsulecorplab Oct 17, 2026
c2b083f
Attempt to install nix packages with --profile /nix/var/nix/profiles/…
capsulecorplab Oct 20, 2026
35f8403
Create (missing) nix system profile
capsulecorplab Oct 20, 2026
9b4fd1e
Revert "Create (missing) nix system profile"
capsulecorplab Oct 20, 2026
10189f3
set profile directory to /nix/var/nix/profiles/per-user/root
capsulecorplab Oct 20, 2026
6093786
Create symlink directory for /nix/var/nix/profiles/per-user/root
capsulecorplab Oct 20, 2026
5e6bad5
Copy script for exporting nix root profile to path to /etc/profile.d/…
capsulecorplab Oct 21, 2026
f6dd6ca
add shebang line to nix root profile exporter script
capsulecorplab Oct 21, 2026
bbbd840
Re-attempt to install (single-user) nix using classic nix installer, …
capsulecorplab Oct 21, 2026
a86dd55
comment out task to add kasm-user to nix-users group
capsulecorplab Oct 21, 2026
7069859
temporarily comment out nix installed packages
capsulecorplab Oct 21, 2026
307fabb
install multi-user nix (instead of single-user) w/ --fallback
capsulecorplab Oct 21, 2026
68a1f29
attempt to install nix from ansible role
capsulecorplab Oct 21, 2026
bd82363
revert to single-user installation using official nix installer
capsulecorplab Oct 21, 2026
9e66754
temporarily set tags to install_utilities for ansible playbook in Doc…
capsulecorplab Oct 22, 2026
637573d
Create /nix directory with chmod 755
capsulecorplab Oct 22, 2026
9481338
Attempt to install (single-user mode) nix using classic nix installer
capsulecorplab Oct 22, 2026
54e50b0
Install sudo before running nix installation
capsulecorplab Oct 22, 2026
40ef1fb
Install build dependencies
capsulecorplab Oct 22, 2026
5e38e26
Attempt to download nix tarball and run nix installation script directly
capsulecorplab Oct 22, 2026
026d6d5
remove --fallback flag
capsulecorplab Oct 23, 2026
6ed99c2
add --yes for running install script as non-interactive
capsulecorplab Oct 23, 2026
62ef4fb
remove steps for creating /nix directory, installing build tools, & i…
capsulecorplab Oct 23, 2026
590956e
unset LD_LIBRARY_PATH
capsulecorplab Oct 23, 2026
d8fef4e
set LD_LIBRARY_PATH to "" as environment variable as part of shell co…
capsulecorplab Oct 24, 2026
5f6047a
Workaround to shut up installer from complaining about no user in nix…
capsulecorplab Oct 24, 2026
2af639d
Use nix to install utilities (git, bash completion, keychain, ping)
capsulecorplab Oct 24, 2026
585ed4e
replace apt w/ nix installed sudo (used for installing vs code)
capsulecorplab Oct 25, 2026
0e5d898
Update ansible-galaxy install of playbook with install_vscode tag in …
capsulecorplab Oct 25, 2026
ebc1cf3
Replace apt with nix installed python, pip, & pip-installed python pa…
capsulecorplab Oct 25, 2026
80daa23
set ansible playbook tag to install_python_packages
capsulecorplab Oct 25, 2026
6b80b3f
Update git, keychain, python, & pint version in README
capsulecorplab Oct 25, 2026
cfad316
Set tag back to "all" for ansible playbook in Dockerfile
capsulecorplab Oct 25, 2026
c03ecf7
Update nixpkgs branch from release-26.05 to nixos-26.05 (stable)
capsulecorplab Oct 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apt update && apt -y install software-properties-common && add-apt-repositor

# run Ansible commands
COPY ./requirements.yaml ./playbook.yaml ./
RUN ansible-galaxy install -r requirements.yaml && ansible-playbook -i,localhost playbook.yaml --tags "all" && rm -f ./*.yaml
RUN ansible-galaxy install -r requirements.yaml && ansible-playbook -vvvv -i,localhost playbook.yaml --tags "all" && rm -f ./*.yaml

# Custom Desktop Background - replace bg_custom.png on disk with your own background image
COPY ./bg_fairy_penguins_1600x800.png /usr/share/backgrounds/bg_default.png
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ This repo provides a workspace for the [LearnTeachCode resource page](https://gi
- yarn v4.3.1
- oclif v4.14.6
- Utilities
- git v2.43.0 with @capsulecorplab .gitconfig
- [Keychain](https://www.funtoo.org/Keychain) v2.8.5
- git v2.54.0 with @capsulecorplab .gitconfig
- [Keychain](https://www.funtoo.org/Keychain) v2.9.8
- Vim (pre-installed) with @capsulecorplab [vimrc](https://gist.github.com/capsulecorplab/495058e7a57ed8adaed3c40c80d09739#file-vimrc)
- Python 3.12.3 (part of the image template) with the following packages (not part of the image template)
- Python 3.13
- pip
- [Pint](https://pint.readthedocs.io/en/stable/)
- [Pint](https://pint.readthedocs.io/en/stable/) v0.26.2
- VS Code with the following extensions (note, auto-updates are disabled)
- [Python extension by Microsoft](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
- [Dendron](https://marketplace.visualstudio.com/items?itemName=dendron.dendron)
Expand Down
5 changes: 5 additions & 0 deletions install_files/nix-root-profile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/bash
# Add Nix root profile to the system PATH
if [ -d /nix/var/nix/profiles/per-user/root/bin ]; then
export PATH="/nix/var/nix/profiles/per-user/root/bin:$PATH"
fi
Loading
Loading