Skip to content

Commit 11251c7

Browse files
attempt to install git with nix
1 parent 936cc2a commit 11251c7

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

playbook.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,12 @@
134134
keychain_version_expected: "{{ keychain_version }}.."
135135

136136
tasks:
137-
- name: Add git PPA
138-
shell: add-apt-repository ppa:git-core/ppa
139-
- name: Install git
137+
- name: Install nix-bin # see https://moonpiedumplings.github.io/projects/setting-up-kasm/#customized-kasm-images
140138
apt:
141-
name: git
139+
name: nix-bin
140+
update_cache: yes
141+
- name: Install git with nix
142+
shell: nix profile install nixpkgs#git --extra-experimental-features nix-command
142143
- name: Install Git Bash Completion
143144
apt:
144145
name: bash-completion
@@ -147,10 +148,6 @@
147148
apt:
148149
name: "keychain={{ keychain_version_to_install }}"
149150
update_cache: yes
150-
- name: Install nix-bin # see https://moonpiedumplings.github.io/projects/setting-up-kasm/#customized-kasm-images
151-
apt:
152-
name: nix-bin
153-
update_cache: yes
154151
- name: install ping
155152
apt:
156153
name: iputils-ping

0 commit comments

Comments
 (0)