feat: add Zed Editor installation tasks and include in workstation setup
This commit is contained in:
parent
21c4b17f76
commit
0fd68d8460
@ -71,7 +71,6 @@
|
|||||||
- io.github.flattool.Warehouse
|
- io.github.flattool.Warehouse
|
||||||
- io.github.nokse22.Exhibit
|
- io.github.nokse22.Exhibit
|
||||||
- net.nokyan.Resources
|
- net.nokyan.Resources
|
||||||
- dev.zed.Zed
|
|
||||||
- io.github.flattool.Ignition
|
- io.github.flattool.Ignition
|
||||||
- io.github.bytezz.IPLookup
|
- io.github.bytezz.IPLookup
|
||||||
- org.gaphor.Gaphor
|
- org.gaphor.Gaphor
|
||||||
|
@ -31,6 +31,9 @@
|
|||||||
- name: Include Firefox PWA tasks
|
- name: Include Firefox PWA tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/firefoxpwa.yml
|
ansible.builtin.import_tasks: tasks/workstations/firefoxpwa.yml
|
||||||
|
|
||||||
|
- name: Include Zed Editor tasks
|
||||||
|
ansible.builtin.import_tasks: tasks/workstations/zed-editor.yml
|
||||||
|
|
||||||
- name: Ensure workstation common packages are installed
|
- name: Ensure workstation common packages are installed
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
|
11
config/ansible/tasks/workstations/zed-editor.yml
Normal file
11
config/ansible/tasks/workstations/zed-editor.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
- name: Check if Zed Editor is installed
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: zed --version
|
||||||
|
register: zed_version
|
||||||
|
ignore_errors: true
|
||||||
|
|
||||||
|
- name: Install Zed Editor
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: curl -f https://zed.dev/install.sh | sh
|
||||||
|
ignore_errors: true
|
||||||
|
when: zed_version.rc != 0
|
@ -32,3 +32,5 @@
|
|||||||
[credential "https://gist.github.com"]
|
[credential "https://gist.github.com"]
|
||||||
helper =
|
helper =
|
||||||
helper = !/home/menno/.nix-profile/bin/gh auth git-credential
|
helper = !/home/menno/.nix-profile/bin/gh auth git-credential
|
||||||
|
[gpg "ssh"]
|
||||||
|
program = /opt/1Password/op-ssh-sign
|
||||||
|
12
config/home-manager/flake.lock
generated
12
config/home-manager/flake.lock
generated
@ -23,11 +23,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747209494,
|
"lastModified": 1747485343,
|
||||||
"narHash": "sha256-fLise+ys+bpyjuUUkbwqo5W/UyIELvRz9lPBPoB0fbM=",
|
"narHash": "sha256-YbsZyuRE1tobO9sv0PUwg81QryYo3L1F3R3rF9bcG38=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5d736263df906c5da72ab0f372427814de2f52f8",
|
"rev": "9b5ac7ad45298d58640540d0323ca217f32a6762",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -39,11 +39,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747179050,
|
"lastModified": 1747542820,
|
||||||
"narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=",
|
"narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e",
|
"rev": "292fa7d4f6519c074f0a50394dbbe69859bb6043",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"*": true
|
"*": true
|
||||||
},
|
},
|
||||||
"git.autofetch": true,
|
"git.autofetch": true,
|
||||||
"workbench.iconTheme": "icons",
|
"workbench.iconTheme": "vscode-icons",
|
||||||
"[jsonc]": {
|
"[jsonc]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user