You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Close the terminal and open a new terminal and execute:
32
+
1. **Close the current terminal**
33
+
1. Open a new terminal and execute:
33
34
34
35
```bash
35
-
sh -c "$(wget -qO- get.chezmoi.io) -- init --apply --verbose tmeijn"
36
+
export ANSIBLE_PASSWORD="<YOUR_SUDO_PASSWORD>"
37
+
```
38
+
39
+
```bash
40
+
sh -c "$(wget -qO- get.chezmoi.io) -- init --apply tmeijn"
36
41
```
37
42
38
43
**note:** this might crash during installation. In that case open a new terminal and keep running `chezmoi apply`.
39
44
40
-
1. After reboot, unlock Bitwarden using `rbw unlock`
45
+
1. After reboot, open a terminal and unlock Bitwarden using our `reco`alias
41
46
1. Login to [`Atuin`](https://atuin.sh/):
42
47
43
48
```bash
44
-
atuin login -u zero-mass92 -p $(rbw get "Atuin Sync") -k "$(rbw get "Atuin Sync" -f Key)"
49
+
atuin login -u zero-mass92 -p $(rbw get "Atuin Sync") -k "$(rbw get "Atuin Sync" -f Key) && atuin sync"
45
50
```
46
51
47
52
1. Navigate to the chezmoi dir by executing `chezmoi cd`
@@ -71,7 +76,7 @@ In a terminal, get the Firefox Account Password by running:
71
76
rbw get "Firefox Account"| pbcopy
72
77
```
73
78
74
-
Open Firefox and open the top-right menu to enable sync.
79
+
Open a **new**Firefox window and open the top-right menu to enable sync.
75
80
You will be required to login, use your email and the password you just copied to your clipboard.
76
81
After logging in, all the Add-ons will be synced to the machine.
77
82
@@ -97,23 +102,23 @@ In the left sidebar, down left, login using your GitHub account. Everything shou
97
102
98
103
Open `Settings -> Online Accounts`. Click the Microsoft 365 account and add the following ID as tenant ID: `8ef61e06-9fd5-49af-9b63-6983aede4213`. [Source](https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1382). Note that this should no longer be needed once we run Gnome 47, which has this pre-configured.
99
104
100
-
NOTE: this does not work correctly with syncing back so we started using rclone. Document this before pushing this readme again. summary steps:
101
-
102
-
https://itsfoss.com/use-onedrive-linux-rclone/ Followed this guide.
105
+
Configure `rclone` by creating a Onedrive. This must have `onedrive` as the name to automatically mount on startup!
103
106
104
107
## Speedrun record 🏃
105
108
106
109
I try and re-install my system about every month while measuring how long it takes to set back up again.
107
110
Since this is on Ubuntu Asahi, I measure this from the point the OS is installed and a new user with my name has been set up.
108
111
109
-
Current record: **20:38:32** (- ~12min), set at 28-01-2024.
112
+
Current record: **20:38:32** (- ~12 minutes), set at 28-01-2024.
113
+
114
+
See [RUN_RECORDS.md](./RUN_RECORDS.md) for historical runs and more.
110
115
111
116
## Tools Used 🧰
112
117
113
118
Everything is managed by [`chezmoi`](https://www.chezmoi.io/).
114
119
The `run_once_` Bash scripts install all the tools we depend upon and actually manage the machine, namely:
115
120
116
-
- **Aqua**: [`aqua`](https://aquaproj.github.io/) is our entrypoint and actually installs Mise and a lot of other single-binary, zero dependency tools.
121
+
- **Aqua**: [`aqua`](https://aquaproj.github.io/) is our entrypoint and actually installs a lot of single-binary, zero dependency tools.
117
122
- **Mise**: [`mise`](https://mise.jdx.dev/) manages our more involved tools like Python, Node, Go, Rust, etc. See the [`config.toml`](chezmoi/dot_config/mise/config.toml) for all dependencies managed.
118
123
- **Ansible**: [Ansible](https://www.ansible.com/) manages our installed Applications using Flatpak, APT and sometimes a plain `.deb` file. See the [Ansible Playbook](ansible/setup.yaml) for more detailed information.
Actually went really smooth this time. Flatpaks and cargo installs take a really long time, but that was still 10 minutes or so. The reboot in the VM takes a really long time so certainly lost time there. Then there is the extension installation which just takes a bit of time and keeps shifting focus of the tab. Signing in to vscode opens LibreOffice Writer (WTF?!). Extension installation finally now is a good experience.
23
+
24
+
### Possible improvements
25
+
26
+
-~~Open instructions in new window so it does not lose focus when settings up addons~~
27
+
-~~Shorten reboot time~~
28
+
-~~Preset `ANSIBLE_PASSWORD`~~
29
+
-~~See if `gext` has a way to disable confirmation~~: not possible, see [issue](https://github.com/essembeh/gnome-extensions-cli/issues/13#issuecomment-1529160849)
30
+
-~~Add instruction to explicitly sync Atuin~~
31
+
-~~Check logins of the sites and maybe have priorities?~~: cleaned up logins, can't have priorities.
0 commit comments