/ 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**:
- `archinstall --dry-run`
- install language: `english` (default)
- mirrors: `colombia`, `united states`, `worldwide`
- locales: keyboard `us`, loc lang `en_AU.UTF-8`, loc enc `UTF-8`
- disk config: use a best-effort default partition layout ➔ pick main hd ➔ `ext4` ➔ default structure `yes` ➔ compression or disable Cow `ESC` (do not)
- disk encryption: `no` (default)
- bootloader: `systemd-boot` (default)
- unified kernel image: `False` (default)
- install language `english` (default)
- locales ➔
- keyboard `us`
- loc lang `en_AU.UTF-8`
- loc enc `UTF-8`
- mirrors and repositories ➔ `colombia`, `united states`, `worldwide`
- (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)
- unified kernel image: `Disabled` (default)
- hostname: `tuxwarrior`
- root password: leave blank (default)
- user account: leave empty (default)
- profile: type ➔ `minimal`
- audio: `pipewire`
- kernels: `linux` (default)
- additional packages: `git nano tree wget`
- network configuration: `Use NetworkManager`
- timezone: `America/Panama`
- Automatic time sync: `True` (default)
- Optional repositories: leave blank (default)
- profile type ➔ `minimal`
- audio `pipewire`
- kernels `linux` (default)
- network configuration ➔ `Use NetworkManager`
- additional packages ➔ `git nano tree wget`
- `/` to search
- timezone ➔ `America/Panama`
- automatic time sync ➔ `True` (default)
- > Save configuration
- > 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`
- on **existing host**:
- on **existing host / alternative host**:
- 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`
- save raw content as `user_configuration.json`
- (change `gfx_driver` value from `null` to `Nvidia (proprietary)`) - not needed, i think
- 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
- 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 -_-`
- `exit`
- `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)
- `chmod 755 archinstall_config_download.sh`
- `cat archinstall_config_download.sh`
- `./archinstall_config_download.sh`
- hostname: `tuxwarrior`
- password: [poq.L2]
- password: [poq.L1]
- make sure both user .json files have been downloaded and updated
- two files should be listed: `user_configuration.json` and `user_credentials.json`
- 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`
- `nmtui` (activate internet connection)
- set up curae (system tool)
- set up ct (caretaker - system management tool)
- `cd /tmp`
- `wget https://git.mz.fo/fro/lnx-arch/raw/branch/master/scripts/curae_setup.sh`
- `cat curae_setup.sh` ➔ verify the file content
- `chmod 755 curae_setup.sh`
- `sudo ./curae_setup.sh`
- `sudo curae yay` (install yay, which is used to install aur packages)
- `sudo curae uf` (full update, install packages)
- `wget https://go.op.fo/fro/lnx-arch/raw/branch/master/scripts/ctsetup.sh`
- `cat ctsetup.sh` ➔ verify the file content
- `chmod 755 ctsetup.sh`
- `sudo ./ctsetup.sh`
- `sudo ct yay` (install yay, which is used to install aur packages)
- `sudo ct uf` (full update, install packages)
- same as running the two commands:
- `sudo curae sw`
- `sudo curae dots`
- `sudo curae dots+` (download wallpapers, fonts++)
- `sudo ct s`
- `sudo ct dots`
- `sudo ct dots+` (download wallpapers, fonts++)
- `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
- `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
- the gnome keyring window will always be in focus, and there is no way to close the other windows while this is happening
- press `escape` to close the gnome window
- close the pCloudDrive, Nextcloud and ProtonVPN windows
- several windows will start
- in the background there might will be a window where you are asked to set password for the gnome keyring
- the gnome keyring window will always be in focus, and there is no way to close the other windows while this is happening
- 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
- start firefox (`SUP + D``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`
- t470p: `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)
- `curae dots` (the re-run of dots will deploy firefox settings)
- `curae services` (enable services)
- `ct s` (install sw that were not installed first time around - not sure why not all sw is installed the first time around)
- `ct dots` (the re-run of dots will deploy firefox settings)
- `ct services` (enable services)
- `reboot` & re-login
- once again, press esc to close the gnome keyring window
- leave the other windows open
- 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
- 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
- log in
- 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
- 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
- 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."_
@@ -175,6 +189,8 @@ Primary key fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C
- click `Connect`
- 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
- set up protonvpn
- log in (but wait with enabling vpn until nextcloud has completed syncing)
## 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
- vscodium
- **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`.
- **settings sync :: download syncronised setting++**
- 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`
- 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.
- `$ 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`
- firefox
- 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 `web scrobbler` extension and log in to last.fm
- 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 >
- delete default containers (`personal`, `work`, `banking`, and `shopping`)
- select `EvilCorp` container > `manage rules` for urls and add the following urls to exclude: