/ updated readme

after tuxwarrior re-install
This commit is contained in:
Frode
2025-06-16 01:48:37 +00:00
parent 3c80fe79cf
commit 9e5c3c33dd

102
README.md
View File

@@ -57,34 +57,38 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- on **new host**: - on **new host**:
- `archinstall --dry-run` - `archinstall --dry-run`
- install language: `english` (default) - install language `english` (default)
- mirrors: `colombia`, `united states`, `worldwide` - locales ➔
- locales: keyboard `us`, loc lang `en_AU.UTF-8`, loc enc `UTF-8` - keyboard `us`
- disk config: use a best-effort default partition layout ➔ pick main hd ➔ `ext4` ➔ default structure `yes` ➔ compression or disable Cow `ESC` (do not) - loc lang `en_AU.UTF-8`
- disk encryption: `no` (default) - loc enc `UTF-8`
- bootloader: `systemd-boot` (default) - mirrors and repositories ➔ `colombia`, `united states`, `worldwide`
- unified kernel image: `False` (default) - (Optional repositories ➔ leave blank (default)) [obsolete?]
- disk config ➔ partitioning ➔ use a best-effort default partition layout ➔ pick main hd ➔ `ext4` ➔ separate partition for /home: `no`
- bootloader ➔ `systemd-boot` (default) [might not be in the right order]
- (disk encryption ➔ `no` (default)) [obsolete?]
- swap: `True` (default) - swap: `True` (default)
- unified kernel image: `Disabled` (default)
- hostname: `tuxwarrior` - hostname: `tuxwarrior`
- root password: leave blank (default) - root password: leave blank (default)
- user account: leave empty (default) - user account: leave empty (default)
- profile: type ➔ `minimal` - profile type ➔ `minimal`
- audio: `pipewire` - audio `pipewire`
- kernels: `linux` (default) - kernels `linux` (default)
- additional packages: `git nano tree wget` - network configuration ➔ `Use NetworkManager`
- network configuration: `Use NetworkManager` - additional packages ➔ `git nano tree wget`
- timezone: `America/Panama` - `/` to search
- Automatic time sync: `True` (default) - timezone ➔ `America/Panama`
- Optional repositories: leave blank (default) - automatic time sync ➔ `True` (default)
- > Save configuration - > Save configuration
- > Save user configuration (inc disk layout) - > Save user configuration (inc disk layout)
- Save directory: `/tmp``yes` - Save directory: `/tmp``yes` ➔ answer `no` when asked if you want to encrypt
- then `abort` to exit archinstall
- `curl -F'file=@user_configuration.json' https://0x0.st` - `curl -F'file=@user_configuration.json' https://0x0.st`
- on **existing host**: - on **existing host / alternative host**:
- for this repo, inside `dots/archinstall` create folder for new host (use hostname as folder name) - for this repo, inside `dots/archinstall` create folder for new host (use hostname as folder name)
- open page given above, like `https://0x0.st/Xbov.json` - open page given above, like `https://0x0.st/Xbov.json`
- save raw content as `user_configuration.json` - save raw content as `user_configuration.json`
- (change `gfx_driver` value from `null` to `Nvidia (proprietary)`) - not needed, i think
- save file - save file
- from a pre-existing host directory, copy over and modify (if needed) `options.sh`, `packages.txt` and `services.txt`. this should be copied to new host directory - from a pre-existing host directory, copy over and modify (if needed) `options.sh`, `packages.txt` and `services.txt`. this should be copied to new host directory
- example: copied from `dots/archinstall/t470p` to `dots/archinstall/tuxwarrior` - example: copied from `dots/archinstall/t470p` to `dots/archinstall/tuxwarrior`
@@ -102,13 +106,13 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- `station wlan0 connect -_-` - `station wlan0 connect -_-`
- `exit` - `exit`
- `cd /tmp` - `cd /tmp`
- `curl -L -O https://git.mz.fo/fro/lnx-arch/raw/branch/master/scripts/archinstall_config_download.sh` - `curl -L -O https://go.op.fo/fro/lnx-arch/raw/branch/master/scripts/archinstall_config_download.sh`
- (`-L` to follow redirects, `-O` to save to disk) - (`-L` to follow redirects, `-O` to save to disk)
- `chmod 755 archinstall_config_download.sh` - `chmod 755 archinstall_config_download.sh`
- `cat archinstall_config_download.sh` - `cat archinstall_config_download.sh`
- `./archinstall_config_download.sh` - `./archinstall_config_download.sh`
- hostname: `tuxwarrior` - hostname: `tuxwarrior`
- password: [poq.L2] - password: [poq.L1]
- make sure both user .json files have been downloaded and updated - make sure both user .json files have been downloaded and updated
- two files should be listed: `user_configuration.json` and `user_credentials.json` - two files should be listed: `user_configuration.json` and `user_credentials.json`
- check datestamp shown at the end when running the script - check datestamp shown at the end when running the script
@@ -122,25 +126,29 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- log in as `poq` - log in as `poq`
- `nmtui` (activate internet connection) - `nmtui` (activate internet connection)
- set up curae (system tool) - set up ct (caretaker - system management tool)
- `cd /tmp` - `cd /tmp`
- `wget https://git.mz.fo/fro/lnx-arch/raw/branch/master/scripts/curae_setup.sh` - `wget https://go.op.fo/fro/lnx-arch/raw/branch/master/scripts/ctsetup.sh`
- `cat curae_setup.sh` ➔ verify the file content - `cat ctsetup.sh` ➔ verify the file content
- `chmod 755 curae_setup.sh` - `chmod 755 ctsetup.sh`
- `sudo ./curae_setup.sh` - `sudo ./ctsetup.sh`
- `sudo curae yay` (install yay, which is used to install aur packages) - `sudo ct yay` (install yay, which is used to install aur packages)
- `sudo curae uf` (full update, install packages) - `sudo ct uf` (full update, install packages)
- same as running the two commands: - same as running the two commands:
- `sudo curae sw` - `sudo ct s`
- `sudo curae dots` - `sudo ct dots`
- `sudo curae dots+` (download wallpapers, fonts++) - `sudo ct dots+` (download wallpapers, fonts++)
- `sudo ufw enable` (enable firewall) - `sudo ufw enable` (enable firewall)
- loop install - untill all programs are successfully installed
- note that some packages (in `packages.txt`) might have to be removed, as they might no longer be active / be working
- `ct s`
- `reboot` & re-login - `reboot` & re-login
- `startx` (start window manager) - `startx` (start window manager)
- several windows will start, and in the background there will be a window where you are asked to set password for the gnome keyring - several windows will start
- the gnome keyring window will always be in focus, and there is no way to close the other windows while this is happening - in the background there might will be a window where you are asked to set password for the gnome keyring
- press `escape` to close the gnome window - the gnome keyring window will always be in focus, and there is no way to close the other windows while this is happening
- close the pCloudDrive, Nextcloud and ProtonVPN windows - press `escape` to close the gnome window
- ignore the pCloudDrive, Nextcloud and ProtonVPN windows
- open and close firefox to have firefox's profile directory being created - open and close firefox to have firefox's profile directory being created
- start firefox (`SUP + D``firefox`) - start firefox (`SUP + D``firefox`)
- close firefox - close firefox
@@ -149,22 +157,28 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- local folder must match `$SYNCDIR_HOSTNAME` in `dots/environment/environment` - local folder must match `$SYNCDIR_HOSTNAME` in `dots/environment/environment`
- t470p: `mkdir /home/poq/nextcloud` - t470p: `mkdir /home/poq/nextcloud`
- tuxwarrior: `mkdir /home/poq/nextcloud` - tuxwarrior: `mkdir /home/poq/nextcloud`
- `curae sw` (install sw that were not installed first time around - not sure why not all sw is installed the first time around) - `ct s` (install sw that were not installed first time around - not sure why not all sw is installed the first time around)
- `curae dots` (the re-run of dots will deploy firefox settings) - `ct dots` (the re-run of dots will deploy firefox settings)
- `curae services` (enable services) - `ct services` (enable services)
- `reboot` & re-login - `reboot` & re-login
- once again, press esc to close the gnome keyring window - once again, press esc to close the gnome keyring window
- leave the other windows open - leave the other windows open
- open firefox and log into bitwarden.com - open firefox and log into bitwarden.com
- here you will find the needed usernames, passwords and one time codes for logging into the below mentioned applications - here you will find the needed usernames, passwords and one time codes for logging into the below mentioned applications
- log into firefox sync
- change device name ➔ `tuxwarrior`
- set as default browser
- set up mega
- `mv ~/MEGA ~/mega`
- does not work great on i3, so the login windom is a small "pixel". need to select this "pixel" and press super+f key for full screen.
- login
- sync local `/home/poq/mega` with cloud `/deviceSync`
- set up pCloud - set up pCloud
- log in - log in
- the first time login process takes quite a while - the first time login process takes quite a while
- set up protonvpn
- log in (but wait with enabling vpn until nextcloud has completed syncing)
- set up nextcloud - set up nextcloud
- log in - log in
- server address: `https://nx.mz.fo` - server address: `https://nx.op.fo`
- at this point the gnome keyring manager will pop up again, and ask for a password - at this point the gnome keyring manager will pop up again, and ask for a password
- leave both (password and confirm) fields blank, and press continue, and chose to store passwords unencrypted - leave both (password and confirm) fields blank, and press continue, and chose to store passwords unencrypted
- _"To use automatic unlocking with automatic login, you can set a blank password for the default keyring. Note that the contents of the keyring are stored unencrypted in this case."_ - _"To use automatic unlocking with automatic login, you can set a blank password for the default keyring. Note that the contents of the keyring are stored unencrypted in this case."_
@@ -175,6 +189,8 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- click `Connect` - click `Connect`
- wait for nextcloud to complete syncronisation - wait for nextcloud to complete syncronisation
- this will likely take a few days, depending on the internet speed and the amount of data stored with nextcloud - this will likely take a few days, depending on the internet speed and the amount of data stored with nextcloud
- set up protonvpn
- log in (but wait with enabling vpn until nextcloud has completed syncing)
## step six :: post syncronisation tasks ## step six :: post syncronisation tasks
@@ -197,7 +213,7 @@ if the system runs nvidia, follow the steps in [nvidia.md](nvidia.md) to set up
- search for `tropical` ➔ select `tropical neon` ➔ press `M` to modify kitten.conf and start using the theme - search for `tropical` ➔ select `tropical neon` ➔ press `M` to modify kitten.conf and start using the theme
- vscodium - vscodium
- **open workspace :: open all active projects** - **open workspace :: open all active projects**
- file > open workspace from file > `/home/poq/syncDir/gitRepos/git.mz.fo/fiodb/db/workspaces/vscodium/one.code-workspace` - file > open workspace from file > `/home/poq/syncDir/gitRepos/gt.op.fo/fiodb/db/workspaces/vscodium/one.code-workspace`
- several .sh files might be flagged as modified (in gitkraken they will show up as `file mode changes from 14001 to 217`, which means from chmod 755 to 644), then you can fix this running the command `chmodAllSh.sh`. - several .sh files might be flagged as modified (in gitkraken they will show up as `file mode changes from 14001 to 217`, which means from chmod 755 to 644), then you can fix this running the command `chmodAllSh.sh`.
- **settings sync :: download syncronised setting++** - **settings sync :: download syncronised setting++**
- file > preferences > extension > search for and install `settings sync` - file > preferences > extension > search for and install `settings sync`
@@ -214,7 +230,7 @@ if the system runs nvidia, follow the steps in [nvidia.md](nvidia.md) to set up
- preferences > ui customization > theme: `gitkraken dark - high contrast` - preferences > ui customization > theme: `gitkraken dark - high contrast`
- register fingerprint for ssh key(s) - register fingerprint for ssh key(s)
- if the ssh key for a git repo has never been used, the ssh connection will fail as the key is not yet registered. - if the ssh key for a git repo has never been used, the ssh connection will fail as the key is not yet registered.
- `$ ssh git@git.mz.fo -p 2002` - `$ ssh git@gt.op.fo -p 2002`
- `Are you sure you want to continue connecting (yes/no/[fingerprint])? yes` - `Are you sure you want to continue connecting (yes/no/[fingerprint])? yes`
- firefox - firefox
- settings > select the option to set firefox as default browser - settings > select the option to set firefox as default browser
@@ -228,7 +244,7 @@ if the system runs nvidia, follow the steps in [nvidia.md](nvidia.md) to set up
- open <https://archive.is/> and install extension found on the top of that page - open <https://archive.is/> and install extension found on the top of that page
- open `web scrobbler` extension and log in to last.fm - open `web scrobbler` extension and log in to last.fm
- extension: sidebery > settings > - extension: sidebery > settings >
- help > `import addon data` > `/home/poq/syncDir/gitRepos/git.mz.fo/lnx-arch/dots/firefox/backup/sidebery-data-2024.06.05-07.51.07.json` - help > `import addon data` > `/home/poq/syncDir/gitRepos/gt.op.fo/lnx-arch/dots/firefox/backup/sidebery-data-2024.06.05-07.51.07.json`
- containers > - containers >
- delete default containers (`personal`, `work`, `banking`, and `shopping`) - delete default containers (`personal`, `work`, `banking`, and `shopping`)
- select `EvilCorp` container > `manage rules` for urls and add the following urls to exclude: - select `EvilCorp` container > `manage rules` for urls and add the following urls to exclude: