-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from kiliantyler/mac-setup
- Loading branch information
Showing
91 changed files
with
3,526 additions
and
3,004 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- TODO --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- TODO --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,3 @@ | ||
# dotfiles | ||
# Kiliantyler's Dotfiles | ||
|
||
Documentation is a work in progress. | ||
|
||
As is this whole repo... | ||
|
||
<!-- TODO: Make documentation --> | ||
|
||
<!-- Make docusaurus --> | ||
|
||
## chezmoi | ||
|
||
## zsh | ||
|
||
## zidote | ||
|
||
## trunk | ||
|
||
### commitlint | ||
|
||
## editorrc | ||
|
||
## go-task | ||
|
||
## direnv | ||
|
||
## asdf | ||
|
||
## homebrew | ||
|
||
## comtrya | ||
|
||
## age | ||
|
||
## 1Password | ||
|
||
## vscode | ||
[Wiki](https://dotfiles.wiki) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- TODO --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[tools] | ||
task = "3.38.0" | ||
node = "22.5.1" | ||
age = "1.2.0" | ||
1password-cli = "2.30.0" | ||
trunk = "1.22.3" | ||
bun = "1.1.27" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
# yaml-language-server $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible.json | ||
- name: Set up local development environment | ||
- name: Set up local environment | ||
hosts: local | ||
roles: | ||
- {role: install_programs, tags: ['install_programs']} | ||
# - {role: os, tags: ['os']} | ||
# - {role: vscode, tags: ['vscode']} | ||
- role: os | ||
tags: | ||
- os | ||
- personal | ||
- work | ||
- workstation | ||
- role: mise | ||
tags: | ||
- mise | ||
- programs | ||
- personal | ||
- work |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ansible==8.7.0 | ||
github3.py==4.0.1 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# yaml-language-server $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible.json | ||
|
||
- name: Get latest mise release from Github | ||
community.general.github_release: | ||
user: jdx | ||
repo: mise | ||
action: latest_release | ||
register: mise_latest | ||
|
||
- name: Create a temporary directory for mise | ||
tempfile: | ||
state: directory | ||
register: temp_dir | ||
|
||
- name: Download and extract mise from Github Release | ||
ansible.builtin.unarchive: | ||
src: "https://github.com/jdx/mise/releases/download/{{ mise_latest['tag'] }}/mise-{{ mise_latest['tag'] }}-{{ ('macos' if ansible_os_family == 'Darwin' else 'linux') }}-{{ ('x64' if ansible_architecture == 'x86_64' else ansible_architecture) }}.tar.gz" | ||
dest: "{{ temp_dir.path }}" | ||
remote_src: true | ||
|
||
- name: Ensure ~/.local/bin directory exists | ||
ansible.builtin.file: | ||
path: $HOME/.local/bin | ||
state: directory | ||
owner: "{{ ansible_user_id }}" | ||
recurse: yes | ||
|
||
- name: Move mise binary to ~/.local/bin | ||
ansible.builtin.copy: | ||
src: "{{ temp_dir.path }}/mise/bin/mise" | ||
dest: $HOME/.local/bin/mise | ||
mode: 0755 | ||
owner: "{{ ansible_user_id }}" | ||
|
||
- name: Check if $XDG_DATA_HOME is set | ||
ansible.builtin.shell: | | ||
echo ${XDG_DATA_HOME:-$HOME/.local/share} | ||
register: xdg_data_home | ||
ignore_errors: true | ||
|
||
- name: Ensure $XDG_DATA_HOME/man/man1 directory exists | ||
ansible.builtin.file: | ||
path: "{{ xdg_data_home.stdout }}/man/man1" | ||
state: directory | ||
owner: "{{ ansible_user_id }}" | ||
recurse: yes | ||
|
||
- name: Move mise man pages | ||
ansible.builtin.copy: | ||
src: "{{ temp_dir.path }}/mise/man/man1/mise.1" | ||
dest: "{{ xdg_data_home.stdout }}/man/man1/mise.1" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Common OS Ansible Role | ||
|
||
[Documentaion available here](https://dotfiles.wiki/tools/ansible/os/common/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* Create ~/.tmp |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Debian Ansible Role | ||
|
||
[Documentaion available here](https://dotfiles.wiki/tools/ansible/os/debian/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# MacOS Ansible Role | ||
|
||
[Documentaion available here](https://dotfiles.wiki/tools/ansible/os/macos/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# yaml-language-server $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible.json | ||
|
||
Defaults: | ||
Dock: | ||
ScrollToOpen: true | ||
ShowAppExposeGestureEnabled: false | ||
ShowHidden: true | ||
Pinning: middle | ||
MinimizeToApplication: true | ||
NoBouncing: false | ||
Animations: | ||
Launch: true | ||
MinimizeEffect: suck | ||
Autohide: | ||
Enabled: true | ||
AnimationDuration: 0.25 | ||
Delay: 0.1 | ||
Icons: | ||
Size: 42 | ||
Magnification: true | ||
MagnificationSize: 44 | ||
Position: left | ||
ShowRecents: false | ||
|
||
Finder: | ||
ShowFileExtensions: true | ||
ShowHiddenFiles: true | ||
ShowPathBar: true | ||
PreferredViewStyle: Nlsv | ||
ShowStatusBar: true | ||
SearchScope: SCcf | ||
RemoveOldTrash: true | ||
ChangeExtensionWarning: false | ||
TitlebarIcon: true | ||
SidebarIconSize: 3 | ||
|
||
Desktop: | ||
ShowHardDrives: false | ||
ShowExternalHardDrives: false | ||
ShowRemovableMedia: false | ||
ShowMountedServers: false | ||
ShowIcons: false | ||
|
||
Menubar: | ||
FlashClock: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# yaml-language-server $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible.json | ||
- name: Dock Restart | ||
ansible.builtin.command: | ||
cmd: "killall Dock" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# yaml-language-server $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible.json | ||
- name: Finder Restart | ||
ansible.builtin.command: | ||
cmd: "killall Finder" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# yaml-language-server $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible.json | ||
- ansible.builtin.import_tasks: dockRestart.yaml | ||
- ansible.builtin.import_tasks: finderRestart.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# yaml-language-server $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/ansible.json | ||
|
||
- name: "[DESKTOP] Hard Drives on Desktop" | ||
community.general.osx_defaults: | ||
domain: com.apple.finder | ||
key: ShowHardDrivesOnDesktop | ||
type: bool | ||
value: "{{ Defaults.Desktop.ShowHardDrives }}" | ||
state: present | ||
notify: Finder Restart | ||
|
||
- name: "[DESKTOP] External Hard Drives on Desktop" | ||
community.general.osx_defaults: | ||
domain: com.apple.finder | ||
key: ShowExternalHardDrivesOnDesktop | ||
type: bool | ||
value: "{{ Defaults.Desktop.ShowExternalHardDrives }}" | ||
state: present | ||
notify: Finder Restart | ||
|
||
- name: "[DESKTOP] Removable Media on Desktop" | ||
community.general.osx_defaults: | ||
domain: com.apple.finder | ||
key: ShowRemovableMediaOnDesktop | ||
type: bool | ||
value: "{{ Defaults.Desktop.ShowRemovableMedia }}" | ||
state: present | ||
notify: Finder Restart | ||
|
||
- name: "[DESKTOP] Mounted Servers on Desktop" | ||
community.general.osx_defaults: | ||
domain: com.apple.finder | ||
key: ShowMountedServersOnDesktop | ||
type: bool | ||
value: "{{ Defaults.Desktop.ShowMountedServers }}" | ||
state: present | ||
notify: Finder Restart | ||
|
||
- name: "[DESKTOP] Desktop Icons" | ||
community.general.osx_defaults: | ||
domain: com.apple.finder | ||
key: CreateDesktop | ||
type: bool | ||
value: "{{ Defaults.Desktop.ShowIcons }}" | ||
state: present | ||
notify: Finder Restart |
Oops, something went wrong.