From 97a38c2631f5c1a8eb5dde74198141e30f00adae Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Wed, 1 May 2024 23:40:17 -0700 Subject: [PATCH 01/26] attempt to install nix --- playbook.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbook.yaml b/playbook.yaml index 3e0db30..4e639e9 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -151,6 +151,10 @@ apt: name: iputils-ping update_cache: yes + - name: Install nix # as per https://nixos.org/download/#download-nix + shell: + cmd: sh <(curl -L https://nixos.org/nix/install) --daemon + executable: /bin/bash - name: Get git version shell: git version | sed 's/[[:alpha:]|(|[:space:]]//g' register: installed_git_version From 7ef2e3050de9d1a483c64c97223ac9b144e7fac7 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Tue, 14 May 2024 02:31:59 -0700 Subject: [PATCH 02/26] attempt to display stdout & stderr for nix install --- playbook.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/playbook.yaml b/playbook.yaml index 4e639e9..765b36e 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -155,6 +155,13 @@ shell: cmd: sh <(curl -L https://nixos.org/nix/install) --daemon executable: /bin/bash + register: output_of_nix_install + - name: Display stdout of nix install + debug: + msg: "{{ output_of_nix_install.stdout }}" + - name: Display stderr of nix install + debug: + msg: "{{ output_of_nix_install.stderr }}" - name: Get git version shell: git version | sed 's/[[:alpha:]|(|[:space:]]//g' register: installed_git_version From 9593baf32da595375a8bac9f4e680c8b5f9fddbe Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Fri, 7 Mar 2025 10:39:12 -0700 Subject: [PATCH 03/26] install nix as single-user (no daemon) --- playbook.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 765b36e..1887a1b 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -151,9 +151,9 @@ apt: name: iputils-ping update_cache: yes - - name: Install nix # as per https://nixos.org/download/#download-nix + - name: Install nix (as single-user) # as per https://nixos.org/download/#download-nix shell: - cmd: sh <(curl -L https://nixos.org/nix/install) --daemon + cmd: sh <(curl -L https://nixos.org/nix/install) --no-daemon executable: /bin/bash register: output_of_nix_install - name: Display stdout of nix install From 12040f53f3e35e88a3a7bbf7eb4e8941c003b6e1 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Fri, 7 Mar 2025 10:50:48 -0700 Subject: [PATCH 04/26] Create /nix directory and set permission before installing nix (as single-user) --- playbook.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbook.yaml b/playbook.yaml index 1887a1b..c0195be 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -151,6 +151,10 @@ apt: name: iputils-ping update_cache: yes + - name: Create /nix directory and set permissions + shell: + cmd: mkdir -m 0755 /nix && chown root /nix + executable: /bin/bash - name: Install nix (as single-user) # as per https://nixos.org/download/#download-nix shell: cmd: sh <(curl -L https://nixos.org/nix/install) --no-daemon From 1116efc00f60b14936295c4ea57faa1344a09240 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Fri, 7 Mar 2025 10:59:17 -0700 Subject: [PATCH 05/26] set playbook verbosity to -v --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 201e69d..aea5dba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -v -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 From 322bd00f26c1dd632e4003cd16f8b0b99aa296bc Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Fri, 7 Mar 2025 11:07:27 -0700 Subject: [PATCH 06/26] set playbook verbosity to -vv --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index aea5dba..2edf443 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -v -i,localhost playbook.yaml --tags "all" && rm -f ./*.yaml +RUN ansible-galaxy install -r requirements.yaml && ansible-playbook -vv -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 From a503a622824af4415ef34bda38575de6b3ef432e Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Fri, 7 Mar 2025 11:15:32 -0700 Subject: [PATCH 07/26] set playbook verbosity to -vvv --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2edf443..823322e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -vv -i,localhost playbook.yaml --tags "all" && rm -f ./*.yaml +RUN ansible-galaxy install -r requirements.yaml && ansible-playbook -vvv -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 From 207753773fcbe390503690f071b04998d1429596 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Fri, 7 Mar 2025 11:32:09 -0700 Subject: [PATCH 08/26] set bash to print verbose command execution before nix install --- playbook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbook.yaml b/playbook.yaml index c0195be..0025078 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -157,7 +157,7 @@ executable: /bin/bash - name: Install nix (as single-user) # as per https://nixos.org/download/#download-nix shell: - cmd: sh <(curl -L https://nixos.org/nix/install) --no-daemon + cmd: set -x; sh <(curl -L https://nixos.org/nix/install) --no-daemon executable: /bin/bash register: output_of_nix_install - name: Display stdout of nix install From b280cd58785c48d7b2f3e0dbce043f8a1f7f604b Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Fri, 7 Mar 2025 11:50:25 -0700 Subject: [PATCH 09/26] set playbook verbosity to -vvvv --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 823322e..1b65d5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -vvv -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 From 3357c1db9b6367401191070ffa5518b0bc266cac Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Tue, 18 Mar 2025 13:05:24 -0700 Subject: [PATCH 10/26] install nix using nix-installer as per https://zero-to-nix.com/start/install/ - run nix-installer with --no-confirm --- playbook.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 0025078..be0aff2 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -155,9 +155,20 @@ shell: cmd: mkdir -m 0755 /nix && chown root /nix executable: /bin/bash - - name: Install nix (as single-user) # as per https://nixos.org/download/#download-nix + - name: Download nix-installer # as https://zero-to-nix.com/start/install/ shell: - cmd: set -x; sh <(curl -L https://nixos.org/nix/install) --no-daemon + cmd: curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix > nix-installer.sh + chdir: /home/kasm-default-profile/install_files + executable: /bin/bash + - name: Make nix-installer executable + shell: + cmd: chmod +x nix-installer.sh + chdir: /home/kasm-default-profile/install_files + executable: /bin/bash + - name: Install nix using nix-installer + shell: + cmd: ./nix-installer.sh install --no-confirm + chdir: /home/kasm-default-profile/install_files executable: /bin/bash register: output_of_nix_install - name: Display stdout of nix install From 8e20c0ce2ae49db95baf1462b3fc2ffd22b5a9a8 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Sat, 15 Nov 2025 23:36:29 -0700 Subject: [PATCH 11/26] replace nix installation w/ provizanta.nix (ansible role) --- playbook.yaml | 32 +++----------------------------- requirements.yaml | 1 + 2 files changed, 4 insertions(+), 29 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index be0aff2..2d6e549 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -151,35 +151,6 @@ apt: name: iputils-ping update_cache: yes - - name: Create /nix directory and set permissions - shell: - cmd: mkdir -m 0755 /nix && chown root /nix - executable: /bin/bash - - name: Download nix-installer # as https://zero-to-nix.com/start/install/ - shell: - cmd: curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix > nix-installer.sh - chdir: /home/kasm-default-profile/install_files - executable: /bin/bash - - name: Make nix-installer executable - shell: - cmd: chmod +x nix-installer.sh - chdir: /home/kasm-default-profile/install_files - executable: /bin/bash - - name: Install nix using nix-installer - shell: - cmd: ./nix-installer.sh install --no-confirm - chdir: /home/kasm-default-profile/install_files - executable: /bin/bash - register: output_of_nix_install - - name: Display stdout of nix install - debug: - msg: "{{ output_of_nix_install.stdout }}" - - name: Display stderr of nix install - debug: - msg: "{{ output_of_nix_install.stderr }}" - - name: Get git version - shell: git version | sed 's/[[:alpha:]|(|[:space:]]//g' - register: installed_git_version - name: Get keychain version shell: cmd: keychain -V 2> >(grep -i keychain) 2> >(sed 's/[[:alpha:]|(|[:space:]]//g') | fgrep '*' | sed 's/[*~://]//g' @@ -211,6 +182,9 @@ debug: msg: "{{ disk_usage.stdout }}" + roles: + - role: nix + - # install Python packages with pip hosts: localhost diff --git a/requirements.yaml b/requirements.yaml index 46d4674..1c3bf63 100644 --- a/requirements.yaml +++ b/requirements.yaml @@ -5,4 +5,5 @@ - webarchitect609.google_chrome # https://galaxy.ansible.com/webarchitect609/google_chrome - staticdev.firefox # https://galaxy.ansible.com/staticdev/firefox - gantsign.visual-studio-code # https://galaxy.ansible.com/gantsign/visual-studio-code +- provizanta.nix # https://galaxy.ansible.com/ui/standalone/roles/provizanta/nix ... From ec4e94d76f1ab714812bdb60583bda60d2c85b1e Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Tue, 18 Nov 2025 10:58:50 -0700 Subject: [PATCH 12/26] attempt to install nix-bin --- playbook.yaml | 9 +++++---- requirements.yaml | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 2d6e549..c751354 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -120,7 +120,7 @@ - role: staticdev.firefox - - # install keychain, git, and @capsulecorplab .vimrc and .gitconfig + # install keychain, git, nix, and @capsulecorplab .vimrc and .gitconfig hosts: localhost connection: local gather_facts: yes @@ -147,6 +147,10 @@ apt: name: "keychain={{ keychain_version_to_install }}" update_cache: yes + - name: Install nix-bin # see https://moonpiedumplings.github.io/projects/setting-up-kasm/#customized-kasm-images + apt: + name: nix-bin + update_cache: yes - name: install ping apt: name: iputils-ping @@ -182,9 +186,6 @@ debug: msg: "{{ disk_usage.stdout }}" - roles: - - role: nix - - # install Python packages with pip hosts: localhost diff --git a/requirements.yaml b/requirements.yaml index 1c3bf63..46d4674 100644 --- a/requirements.yaml +++ b/requirements.yaml @@ -5,5 +5,4 @@ - webarchitect609.google_chrome # https://galaxy.ansible.com/webarchitect609/google_chrome - staticdev.firefox # https://galaxy.ansible.com/staticdev/firefox - gantsign.visual-studio-code # https://galaxy.ansible.com/gantsign/visual-studio-code -- provizanta.nix # https://galaxy.ansible.com/ui/standalone/roles/provizanta/nix ... From 936cc2acee28a5a375a2ba8252de06617c517347 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Tue, 18 Nov 2025 12:38:20 -0700 Subject: [PATCH 13/26] Get git version --- playbook.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbook.yaml b/playbook.yaml index c751354..04082ca 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -160,6 +160,9 @@ cmd: keychain -V 2> >(grep -i keychain) 2> >(sed 's/[[:alpha:]|(|[:space:]]//g') | fgrep '*' | sed 's/[*~://]//g' executable: /bin/bash register: installed_keychain_version + - name: Get git version + shell: git version | sed 's/[[:alpha:]|(|[:space:]]//g' + register: installed_git_version - name: Display git and keychain versions debug: msg: "git = {{ installed_git_version.stdout }} | keychain = {{ installed_keychain_version.stdout }}" From 11251c7b8b3f76377fd7c11e0a1a03f46998010e Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Tue, 18 Nov 2025 13:15:46 -0700 Subject: [PATCH 14/26] attempt to install git with nix --- playbook.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 04082ca..458f89a 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -134,11 +134,12 @@ keychain_version_expected: "{{ keychain_version }}.." tasks: - - name: Add git PPA - shell: add-apt-repository ppa:git-core/ppa - - name: Install git + - name: Install nix-bin # see https://moonpiedumplings.github.io/projects/setting-up-kasm/#customized-kasm-images apt: - name: git + name: nix-bin + update_cache: yes + - name: Install git with nix + shell: nix profile install nixpkgs#git --extra-experimental-features nix-command - name: Install Git Bash Completion apt: name: bash-completion @@ -147,10 +148,6 @@ apt: name: "keychain={{ keychain_version_to_install }}" update_cache: yes - - name: Install nix-bin # see https://moonpiedumplings.github.io/projects/setting-up-kasm/#customized-kasm-images - apt: - name: nix-bin - update_cache: yes - name: install ping apt: name: iputils-ping From 61baffc5b227bcdea10c039f338e7a597b010bef Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Tue, 18 Nov 2025 15:00:01 -0700 Subject: [PATCH 15/26] remove staticdev.firefox (ansible role) --- playbook.yaml | 42 ------------------------------------------ requirements.yaml | 1 - 2 files changed, 43 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 458f89a..c583a9a 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -77,48 +77,6 @@ roles: - role: webarchitect609.google_chrome -- - # install firefox - hosts: localhost - connection: local - gather_facts: yes - tags: - - install_firefox - - vars: - firefox_profiles: - default: - extensions: - - ublock-origin - preferences: - network.cookie.cookieBehavior: 1 - privacy.donottrackheader.enabled: true - datareporting.healthreport.uploadEnabled: false - secondprofile: - extensions: - - adblock-plus - preferences: - privacy.donottrackheader.enabled: false - privacy.trackingprotection.enabled: false - signon.rememberSignons: false - datareporting.healthreport.uploadEnabled: false - - tasks: - - name: Get disk usage - shell: df -h - register: disk_usage - - name: Display disk usage - debug: - msg: "{{ disk_usage.stdout }}" - - pre_tasks: - - name: Update apt packages - apt: - update_cache: yes - - roles: - - role: staticdev.firefox - - # install keychain, git, nix, and @capsulecorplab .vimrc and .gitconfig hosts: localhost diff --git a/requirements.yaml b/requirements.yaml index 46d4674..d33accb 100644 --- a/requirements.yaml +++ b/requirements.yaml @@ -3,6 +3,5 @@ - irixjp.role_example_hello # https://galaxy.ansible.com/irixjp/role_example_hello - grzegorznowak.nvm_node # https://galaxy.ansible.com/grzegorznowak/nvm_node - webarchitect609.google_chrome # https://galaxy.ansible.com/webarchitect609/google_chrome -- staticdev.firefox # https://galaxy.ansible.com/staticdev/firefox - gantsign.visual-studio-code # https://galaxy.ansible.com/gantsign/visual-studio-code ... From bec8470590e697cfdcaa30c9b43e18e10870294b Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Tue, 18 Nov 2025 18:41:45 -0700 Subject: [PATCH 16/26] attempt to enable flakes --- playbook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbook.yaml b/playbook.yaml index c583a9a..a520dca 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -97,7 +97,7 @@ name: nix-bin update_cache: yes - name: Install git with nix - shell: nix profile install nixpkgs#git --extra-experimental-features nix-command + shell: nix profile install nixpkgs#git --extra-experimental-features nix-command --extra-experimental-features flakes - name: Install Git Bash Completion apt: name: bash-completion From bd478b4ca03086097d0f9a072c2a7696ed9dc332 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Wed, 19 Nov 2025 23:15:42 -0700 Subject: [PATCH 17/26] Add kasm-user to nix-users group --- playbook.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbook.yaml b/playbook.yaml index a520dca..2171574 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -96,6 +96,8 @@ apt: name: nix-bin update_cache: yes + - name: Add kasm-user to nix-users group + shell: usermod -aG nix-users kasm-user - name: Install git with nix shell: nix profile install nixpkgs#git --extra-experimental-features nix-command --extra-experimental-features flakes - name: Install Git Bash Completion From 98219940ae8658ebc79289f0ef2712e8dcb98430 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Wed, 27 May 2026 19:06:00 -0700 Subject: [PATCH 18/26] attempt to install pinned version of git using nix --- playbook.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 9688c03..76a3cab 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -86,7 +86,7 @@ vars: git_version: "2.43.0" - git_version_to_install: "1:{{ git_version }}-1ubuntu7" + nixos_release: "26.05" keychain_version: "2.8.5" keychain_version_to_install: "{{ keychain_version }}-4" keychain_version_expected: "{{ keychain_version }}.." @@ -98,8 +98,8 @@ update_cache: yes - name: Add kasm-user to nix-users group shell: usermod -aG nix-users kasm-user - - name: Install git with nix - shell: nix profile install nixpkgs#git --extra-experimental-features nix-command --extra-experimental-features flakes + - name: Install git {{ git_version }} with nix + shell: nix profile install nixpkgs/release-{{ nixos_release }}#git --extra-experimental-features nix-command --extra-experimental-features flakes - name: Install Git Bash Completion apt: name: bash-completion From 7bc47484d6e94cb612f3657afb3dc3e4e4d6cbd8 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Wed, 27 May 2026 21:11:24 -0700 Subject: [PATCH 19/26] refactor bash-completion installation using nix --- playbook.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 76a3cab..7790b5e 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -101,9 +101,7 @@ - name: Install git {{ git_version }} with nix shell: nix profile install nixpkgs/release-{{ nixos_release }}#git --extra-experimental-features nix-command --extra-experimental-features flakes - name: Install Git Bash Completion - apt: - name: bash-completion - update_cache: yes + shell: nix profile install nixpkgs/release-{{ nixos_release }}#bash-completion --extra-experimental-features nix-command --extra-experimental-features flakes - name: Install Keychain apt: name: "keychain={{ keychain_version_to_install }}" From 4a4300e26adf7c81bbdf8c00b8658c79bab61dfd Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Sat, 30 May 2026 10:34:31 -0700 Subject: [PATCH 20/26] attempt to refactor keychain installation using nix --- playbook.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 7790b5e..27bab61 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -88,7 +88,6 @@ git_version: "2.43.0" nixos_release: "26.05" keychain_version: "2.8.5" - keychain_version_to_install: "{{ keychain_version }}-4" keychain_version_expected: "{{ keychain_version }}.." tasks: @@ -103,9 +102,7 @@ - name: Install Git Bash Completion shell: nix profile install nixpkgs/release-{{ nixos_release }}#bash-completion --extra-experimental-features nix-command --extra-experimental-features flakes - name: Install Keychain - apt: - name: "keychain={{ keychain_version_to_install }}" - update_cache: yes + shell: nix profile install nixpkgs/release-{{ nixos_release }}#keychain --extra-experimental-features nix-command --extra-experimental-features flakes - name: install ping apt: name: iputils-ping From 4586675d4aa2a14ba600d94e63bc4917e68a76e1 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Sat, 30 May 2026 10:47:38 -0700 Subject: [PATCH 21/26] temporarily comment out keychain version test --- playbook.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 27bab61..788693b 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -122,10 +122,10 @@ fail: msg: "Git Version Error: Expected {{ git_version }} | Found {{ installed_git_version.stdout }}" when: installed_git_version.stdout != git_version - - name: Test keychain version - fail: - msg: "Keychain Version Error: Expected {{ keychain_version_expected }} | Found {{ installed_keychain_version.stdout }}" - when: installed_keychain_version.stdout != keychain_version_expected + #- name: Test keychain version + # fail: + # msg: "Keychain Version Error: Expected {{ keychain_version_expected }} | Found {{ installed_keychain_version.stdout }}" + # when: installed_keychain_version.stdout != keychain_version_expected - name: Install @capsulecorplab .vimrc get_url: url: https://gist.githubusercontent.com/capsulecorplab/495058e7a57ed8adaed3c40c80d09739/raw/4a6e6f6ff92b96919be111c9cbb5a4a21ab472d2/.vimrc From c5948e71a3462ceafdeea69d4cc68a821caecd64 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Mon, 1 Jun 2026 13:25:24 -0700 Subject: [PATCH 22/26] refactor ping installation using nix --- playbook.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 788693b..1c4756d 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -104,9 +104,7 @@ - name: Install Keychain shell: nix profile install nixpkgs/release-{{ nixos_release }}#keychain --extra-experimental-features nix-command --extra-experimental-features flakes - name: install ping - apt: - name: iputils-ping - update_cache: yes + shell: nix profile install nixpkgs#unixtools.ping --extra-experimental-features nix-command --extra-experimental-features flakes - name: Get keychain version shell: cmd: keychain -V 2> >(grep -i keychain) 2> >(sed 's/[[:alpha:]|(|[:space:]]//g') | fgrep '*' | sed 's/[*~://]//g' From 90c984b35e05d3afdb3c4b7b10a58204ed091e2a Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Tue, 2 Jun 2026 12:47:58 -0700 Subject: [PATCH 23/26] attempt to reinstall voila --- playbook.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbook.yaml b/playbook.yaml index 1c4756d..9d77e35 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -159,6 +159,7 @@ break_system_packages: true name: - pint + - voila - name: Get disk usage shell: df -h register: disk_usage From f370a2f790fcf47703d5116b0dfadb9457cae7e8 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Wed, 3 Jun 2026 13:33:32 -0700 Subject: [PATCH 24/26] add tag for install_python_packages --- playbook.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/playbook.yaml b/playbook.yaml index 9d77e35..657ea4c 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -82,7 +82,9 @@ hosts: localhost connection: local gather_facts: yes - tags: install_utilities + tags: + - install_utilities + - install_python_packages vars: git_version: "2.43.0" @@ -144,6 +146,8 @@ hosts: localhost connection: local gather_facts: yes + tags: + - install_python_packages tasks: - name: Update OS to point python to python3 From e8724873e4758f6faeb3b5140f60908db1e4cf7e Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Wed, 3 Jun 2026 14:23:28 -0700 Subject: [PATCH 25/26] attempt to install pinnned jupyterlab & notebook --- playbook.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbook.yaml b/playbook.yaml index 657ea4c..405169f 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -164,6 +164,8 @@ name: - pint - voila + - notebook==6.5.7 + - jupyterlab==3.6.8 - name: Get disk usage shell: df -h register: disk_usage From d4fc85c7d305c6e01c1a578eeca4886157a3cacc Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Wed, 3 Jun 2026 15:07:41 -0700 Subject: [PATCH 26/26] attempt to pass --ignore-installed as per https://stackoverflow.com/questions/49932759/pip-10-and-apt-how-to-avoid-cannot-uninstall-x-errors-for-distutils-packages --- playbook.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbook.yaml b/playbook.yaml index 405169f..052b4b5 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -166,6 +166,7 @@ - voila - notebook==6.5.7 - jupyterlab==3.6.8 + extra_args: --ignore-installed - name: Get disk usage shell: df -h register: disk_usage